]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/drv/mmcsd/test/MMCSD_Baremetal_DMA_TestApp/makefile
d61517ac3c88519d55ae89adc4a5a574512c893c
[processor-sdk/pdk.git] / packages / ti / drv / mmcsd / test / MMCSD_Baremetal_DMA_TestApp / makefile
1 # Makefile for MMCSD Baremetal DMA unit test app
2 ifeq ($(RULES_MAKE), )
3 include $(PDK_INSTALL_PATH)/ti/build/Rules.make
4 else
5 include $(RULES_MAKE)
6 endif
8 export DISABLE_RECURSE_DEPS
10 #Name of the directory created under packages/ti/binary/
11 APP_NAME = MMCSD_Baremetal_DMA_TestApp
12 # Name of the binary if different from the default (APP_NAME)_$(BOARD_$(CORE)_<build_profile>
13 LOCAL_APP_NAME = MMCSD_Baremetal_DMA_$(BOARD)_$(CORE)TestApp
14 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200))
15     LOCAL_APP_NAME =  MMCSD_Baremetal_DMA_TestApp_$(CORE)
16 endif
18 BUILD_OS_TYPE = baremetal
20 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200))
21 SRCDIR = ../src ../../
22 INCDIR = ../src ../include ../../
23 # Common source files across all platforms and cores
24 SRCS_COMMON += main.c
26 endif
28 # List all the external components/interfaces, whose interface header files
29 #  need to be included for this component
30 INCLUDE_EXTERNAL_INTERFACES = pdk csl_arch
32 # List all the components required by the application
33 COMP_LIST_COMMON += uart osal_nonos mmcsd i2c board
34 COMP_LIST_c66x = csl_intc
35 COMP_LIST_COMMON += csl
36 COMP_LIST_a15_0   = csl_init
37 COMP_LIST_mpu1_0  = csl_init
38 COMP_LIST_mpu1_1  = csl_init
39 COMP_LIST_mcu1_0  = csl_init
40 COMP_LIST_mcu1_1  = csl_init
42 ifeq ($(SOC),$(filter $(SOC), j721e j7200))
43 COMP_LIST_mcu2_0  = csl_init
44 COMP_LIST_mcu2_1  = csl_init
45 ifeq ($(SOC),$(filter $(SOC), j721e))
46 COMP_LIST_mcu3_0  = csl_init
47 COMP_LIST_mcu3_1  = csl_init
48 endif
49 endif
51 ifeq ($(SOC),$(filter $(SOC), am65xx j721e j7200))
52 COMP_LIST_COMMON += sciclient
53 endif
55 # Common source files and CFLAGS across all platforms and cores
56 PACKAGE_SRCS_COMMON = .
57 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) -DBARE_METAL -DMMCSD_ADMA_ENABLED
59 LNKFLAGS_LOCAL_a15_0  += --entry Entry
60 LNKFLAGS_LOCAL_a8host += --entry Entry
61 LNKFLAGS_LOCAL_a9host += --entry Entry
62 LNKFLAGS_LOCAL_mpu1_0 += --entry Entry
64 # Core/SoC/platform specific source files and CFLAGS
65 # Example:
66 #   SRCS_<core/SoC/platform-name> =
67 #   CFLAGS_LOCAL_<core/SoC/platform-name> =
70 # Core/SoC/platform specific source files and CFLAGS
71 # Example:
72 #   SRCS_<core/SoC/platform-name> =
73 #   CFLAGS_LOCAL_<core/SoC/platform-name> =
75 # Include common make files
76 ifeq ($(MAKERULEDIR), )
77 #Makerule path not defined, define this and assume relative path from ROOTDIR
78   MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
79   export MAKERULEDIR
80 endif
81 include $(MAKERULEDIR)/common.mk
83 # OBJs and libraries are built by using rule defined in rules_<target>.mk
84 #     and need not be explicitly specified here
86 # Nothing beyond this point