1 # Makefile for edma3 lld app\r
2 ifeq ($(IPUCORE),1)\r
3 APP_NAME = edma3_drv_arm_tda2xx_core1_sample\r
4 else\r
5 APP_NAME = edma3_drv_arm_tda2xx_core0_sample\r
6 endif\r
7 \r
8 SRCDIR = ../src\r
9 INCDIR = ../src\r
10 \r
11 # List all the external components/interfaces, whose interface header files \r
12 # need to be included for this component\r
13 INCLUDE_EXERNAL_INTERFACES = bios xdc edma3_lld\r
14 \r
15 # List all the components required by the application\r
16 COMP_LIST_m4 = edma3_lld_drv edma3_lld_rm\r
17 \r
18 # XDC CFG File\r
19 ifeq ($(IPUCORE),1)\r
20 XDC_CFG_FILE_m4 = rtsc_config/edma3_drv_bios6_tda2xx_m4_c1_st_sample.cfg\r
21 CONFIG_BLD_XDC_CUSTOM = rtsc_config/custom_config.bld\r
22 PLATFORM_XDC_CUSTOM = ti.platforms.simVayu:IPU_1_1\r
23 else\r
24 XDC_CFG_FILE_m4 = rtsc_config/edma3_drv_bios6_tda2xx_m4_c0_st_sample.cfg\r
25 CONFIG_BLD_XDC_CUSTOM = rtsc_config/custom_config.bld\r
26 PLATFORM_XDC_CUSTOM = ti.platforms.simVayu:IPU_1_0\r
27 endif\r
28 \r
29 \r
30 # Common source files and CFLAGS across all platforms and cores\r
31 SRCS_COMMON = common.c dma_misc_test.c dma_test.c qdma_test.c dma_chain_test.c \\r
32 dma_ping_pong_test.c main.c dma_link_test.c dma_poll_test.c \\r
33 qdma_link_test.c\r
34 CFLAGS_LOCAL_COMMON = -DBUILD_TDA2XX_IPU\r
35 \r
36 # Core/SoC/platform specific source files and CFLAGS\r
37 # Example: \r
38 # SRCS_<core/SoC/platform-name> = \r
39 # CFLAGS_LOCAL_<core/SoC/platform-name> =\r
40 \r
41 # Include common make files\r
42 include $(ROOTDIR)/makerules/common.mk\r
43 \r
44 # OBJs and libraries are built by using rule defined in rules_<target>.mk \r
45 # and need not be explicitly specified here\r
46 \r
47 # Nothing beyond this point\r