51d72c6727df2e367f7dbd6c2e9ec3a9a23cc819
1 #
2 # This file is the makefile for building CBUFF 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 = adcbuf_testapp
12 #
13 # This file is common makefile for building CBUFF test app for both TI-RTOS/baremetal
14 #
15 SRCDIR = .
16 INCDIR =
18 # List all the external components/interfaces, whose interface header files
19 # need to be included for this component
20 INCLUDE_EXTERNAL_INTERFACES = pdk
22 # List all the components required by the application
23 COMP_LIST_COMMON = $(PDK_COMMON_TIRTOS_COMP)
24 COMP_LIST_COMMON += adcbuf
25 INCLUDE_EXTERNAL_INTERFACES += xdc bios pdk
26 XDC_CFG_FILE_$(CORE) = $(PDK_INSTALL_PATH)/ti/build/$(SOC)/sysbios_$(ISA).cfg
28 # Common source files and CFLAGS across all platforms and cores
29 PACKAGE_SRCS_COMMON = .
30 SRCS_mcu1_0 += main_mss.c
31 #SRCS_c66xdsp_1 += main.c
33 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS)
35 # Include common make files
36 ifeq ($(MAKERULEDIR), )
37 #Makerule path not defined, define this and assume relative path from ROOTDIR
38 MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
39 export MAKERULEDIR
40 endif
41 include $(MAKERULEDIR)/common.mk
43 # OBJs and libraries are built by using rule defined in rules_<target>.mk
44 # and need not be explicitly specified here
46 # Nothing beyond this point