]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/drv/mmcsd/test/MMCSD_Baremetal_EMMC_DMA_TestProject/makefile
fa325a10f5665237d5e6e81188f56ae9370e6d2e
[processor-sdk/pdk.git] / packages / ti / drv / mmcsd / test / MMCSD_Baremetal_EMMC_DMA_TestProject / 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_EMMC_DMA_TestProject
12 # Name of the binary if different from the default (APP_NAME)_$(BOARD_$(CORE)_<build_profile>
13 LOCAL_APP_NAME = MMCSD_Baremetal_EMMC_DMA_$(BOARD)_$(CORE)TestProject
15 BUILD_OS_TYPE = baremetal
17 ifeq ($(SOC),$(filter $(SOC), am65xx j721e))
18 SRCDIR = ../src ../../
19 INCDIR = ../src ../include ../../
20 # Common source files across all platforms and cores
21 SRCS_COMMON += main_emmc.c
22 endif
24 # List all the external components/interfaces, whose interface header files
25 #  need to be included for this component
26 INCLUDE_EXTERNAL_INTERFACES = pdk csl_arch
28 # List all the components required by the application
29 COMP_LIST_COMMON += uart osal_nonos mmcsd i2c board
30 COMP_LIST_c66x = csl_intc
31 COMP_LIST_COMMON += csl
32 COMP_LIST_a15_0   = csl_init
33 COMP_LIST_mpu1_0  = csl_init
34 COMP_LIST_mcu1_0  = csl_init
36 ifeq ($(SOC),$(filter $(SOC), am65xx j721e))
37 COMP_LIST_COMMON += sciclient
38 endif
40 # Common source files and CFLAGS across all platforms and cores
41 PACKAGE_SRCS_COMMON = .
42 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) -DBARE_METAL -DMMCSD_ADMA_ENABLED
44 LNKFLAGS_LOCAL_a15_0  += --entry Entry
45 LNKFLAGS_LOCAL_a8host += --entry Entry
46 LNKFLAGS_LOCAL_a9host += --entry Entry
47 LNKFLAGS_LOCAL_mpu1_0 += --entry Entry
49 # Core/SoC/platform specific source files and CFLAGS
50 # Example:
51 #   SRCS_<core/SoC/platform-name> =
52 #   CFLAGS_LOCAL_<core/SoC/platform-name> =
55 # Core/SoC/platform specific source files and CFLAGS
56 # Example:
57 #   SRCS_<core/SoC/platform-name> =
58 #   CFLAGS_LOCAL_<core/SoC/platform-name> =
60 # Include common make files
61 ifeq ($(MAKERULEDIR), )
62 #Makerule path not defined, define this and assume relative path from ROOTDIR
63   MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
64   export MAKERULEDIR
65 endif
66 include $(MAKERULEDIR)/common.mk
68 # OBJs and libraries are built by using rule defined in rules_<target>.mk
69 #     and need not be explicitly specified here
71 # Nothing beyond this point