9c37f6ce39a2f975128b7b09a113795906aeed8b
[keystone-rtos/edma3_lld.git] / packages / ti / sdo / edma3 / rm / makefile
1 # Makefile for EDMA3 LLD RM
2 -include $(MAKERULEDIR)/../Rules.make
4 MODULE_NAME = edma3_lld_rm
6 SRCDIR = src src/configs
7 INCDIR = . ../../../.. src
9 # List all the external components/interfaces, whose interface header files
10 #  need to be included for this component
11 INCLUDE_EXTERNAL_INTERFACES =
13 # Common source files and CFLAGS across all platforms and cores
14 SRCS_COMMON = edma3resmgr.c edma3_rm_gbl_data.c
15 ifeq ($(CORE),c6xdsp)
16 CFLAGS_LOCAL_COMMON = -mi10
17 endif
19 # Defines for picking proper configuration based on the cores
20 ifeq ($(CORE),c6xdsp)
21 CFLAGS_LOCAL_c6a811x-evm = -DBUILD_C6A811X_DSP
22 endif
23 ifeq ($(CORE),a8host)
24 CFLAGS_LOCAL_c6a811x-evm = -DBUILD_C6A811X_A8
25 endif
26 ifeq ($(CORE),m3video)
27 CFLAGS_LOCAL_c6a811x-evm = -DBUILD_C6A811X_M3VIDEO
28 endif
29 ifeq ($(CORE),m3vpss)
30 CFLAGS_LOCAL_c6a811x-evm = -DBUILD_C6A811X_M3VPSS
31 endif
32 ifeq ($(CORE),a15host)
33 CFLAGS_LOCAL_tda2xx = -DBUILD_TDA2XX_MPU
34 endif
36 # Core/SoC/platform specific source files and CFLAGS
37 # Example:
38 #   SRCS_<core/SoC/platform-name> =
39 #   CFLAGS_LOCAL_<core/SoC/platform-name> =
40 SRCS_c6472-evm = edma3_c6472_cfg.c
41 SRCS_tci6486-evm = edma3_tci6486_cfg.c
42 SRCS_tci6608-sim = edma3_tci6608_cfg.c
43 SRCS_tci6616-sim = edma3_tci6616_cfg.c
44 SRCS_tci6614-sim = edma3_tci6614_cfg.c
45 SRCS_c6657-sim = edma3_c6657_cfg.c
46 SRCS_tci6638k2k-sim = edma3_tci6638k2k_cfg.c
47 SRCS_c6670-evm = edma3_c6670_cfg.c
48 SRCS_c6678-evm = edma3_c6678_cfg.c
49 SRCS_tci6614-evm = edma3_tci6614_cfg.c
50 SRCS_c6657-evm = edma3_c6657_cfg.c
51 SRCS_tci6638k2k-evm = edma3_tci6638k2k_cfg.c
52 SRCS_tci6636k2h-evm = edma3_tci6636k2h_cfg.c
53 SRCS_tci6630k2l-evm = edma3_tci6630k2l_cfg.c
54 SRCS_c66ak2e-evm = edma3_c66ak2e_cfg.c
55 SRCS_tci66ak2g02-evm = edma3_tci66ak2g02_cfg.c
56 SRCS_omapl138-evm = edma3_omapl138_cfg.c
57 SRCS_c6748-evm = edma3_c6748_cfg.c
58 SRCS_da830-evm = edma3_da830_cfg.c
59 SRCS_omap4-evm = edma3_omap4_cfg.c
60 SRCS_ti814x = edma3_ti814x_cfg.c
61 SRCS_tda2xx = edma3_tda2xx_cfg.c
62 SRCS_tda3xx = edma3_tda3xx_cfg.c
63 SRCS_ti816x = edma3_ti816x_cfg.c
64 SRCS_am335x = edma3_am335x_cfg.c
65 SRCS_am437x = edma3_am437x_cfg.c
66 SRCS_c6a811x-evm = edma3_c6a811x_cfg.c
67 CFLAGS_LOCAL_generic = -DGENERIC
69 # Include common make files
70 ifeq ($(MAKERULEDIR), )
71 #Makerule path not defined, define this and assume relative path from ROOTDIR
72   MAKERULEDIR := $(ROOTDIR)/makerules
73   export MAKERULEDIR
74 endif
75 include $(MAKERULEDIR)/common.mk
77 # OBJs and libraries are built by using rule defined in rules_<target>.mk
78 #     and need not be explicitly specified here
80 # Nothing beyond this point