98ad89c6685c945d351a3ad8d6b12525e203a899
1 #
2 # This file is the makefile for building UDMA chaining test app for TI RTOS
3 #
4 ifeq ($(RULES_MAKE), )
5 include $(PDK_INSTALL_PATH)/ti/build/Rules.make
6 else
7 include $(RULES_MAKE)
8 endif
10 APP_NAME = udma_chaining_testapp
12 SRCDIR = .
13 INCDIR =
15 # List all the external components/interfaces, whose interface header files
16 # need to be included for this component
17 INCLUDE_EXTERNAL_INTERFACES = pdk
19 # List all the components required by the application
20 COMP_LIST_COMMON = csl udma board uart i2c sciclient udma_apputils osal_tirtos
21 INCLUDE_EXTERNAL_INTERFACES += xdc bios
22 XDC_CFG_FILE_$(CORE) = $(PDK_INSTALL_PATH)/ti/build/$(SOC)/sysbios_$(ISA).cfg
24 # Common source files and CFLAGS across all platforms and cores
25 PACKAGE_SRCS_COMMON = .
26 SRCS_COMMON = main_tirtos.c udma_chaining_test.c
27 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS)
29 # Enable copy of vectors
30 ifeq ($(ISA),$(filter $(ISA), r5f))
31 COMP_LIST_COMMON += copyvecs
32 endif
34 # Core/SoC/platform specific source files and CFLAGS
35 # Example:
36 # SRCS_<core/SoC/platform-name> =
37 # CFLAGS_LOCAL_<core/SoC/platform-name> =
39 # Include common make files
40 ifeq ($(MAKERULEDIR), )
41 #Makerule path not defined, define this and assume relative path from ROOTDIR
42 MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
43 export MAKERULEDIR
44 endif
45 include $(MAKERULEDIR)/common.mk
47 # OBJs and libraries are built by using rule defined in rules_<target>.mk
48 # and need not be explicitly specified here
50 # Nothing beyond this point