[processor-sdk/pdk.git] / packages / ti / drv / uart / example / UART_BasicExample_Polling_ExampleProject / makefile
1 # Makefile for UART sample app
2 include $(PDK_INSTALL_PATH)/ti/build/Rules.make
4 #Name of the directory created under packages/ti/binary/
5 APP_NAME = UART_BasicExample_Polling_ExampleProject
6 # Name of the binary if different from the default (APP_NAME)_$(BOARD_$(CORE)_<build_profile>
7 LOCAL_APP_NAME = UART_BasicExample_Polling_$(BOARD)_$(CORE)Example_Project
9 ifeq ($(SOC),$(filter $(SOC), tda2xx tda2px dra75x dra78x tda2ex tda3xx))
10 SRCDIR = . src
11 INCDIR = . src
12 # Common source files across all platforms and cores
13 SRCS_COMMON += uart_polling_test.c
14 endif
16 # List all the external components/interfaces, whose interface header files
17 # need to be included for this component
18 INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk
20 # List all the components required by the application
21 COMP_LIST_COMMON = $(PDK_COMMON_TIRTOS_COMP)
23 # Enable XDC build for application by providing XDC CFG File per core
24 XDC_CFG_FILE_$(CORE) = uartSample.cfg
26 PACKAGE_SRCS_COMMON = .
27 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS)
29 # Include common make files
30 ifeq ($(MAKERULEDIR), )
31 #Makerule path not defined, define this and assume relative path from ROOTDIR
32 MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
33 export MAKERULEDIR
34 endif
35 include $(MAKERULEDIR)/common.mk
37 # OBJs and libraries are built by using rule defined in rules_<target>.mk
38 # and need not be explicitly specified here
40 # Nothing beyond this point