PRSDK-3125: Update remainig
[keystone-rtos/edma3_lld.git] / packages / ti / sdo / edma3 / rm / makefile
1 # Makefile for EDMA3 LLD RM
3 MODULE_NAME = edma3_lld_rm
5 SRCDIR = src src/configs
6 INCDIR = . ../../../.. src
8 # List all the external components/interfaces, whose interface header files
9 #  need to be included for this component
10 INCLUDE_EXTERNAL_INTERFACES =
12 # Common source files and CFLAGS across all platforms and cores
13 SRCS_COMMON = edma3resmgr.c edma3_rm_gbl_data.c
14 ifeq ($(CORE),c6xdsp)
15 CFLAGS_LOCAL_COMMON = -mi10
16 endif
18 # Defines for picking proper configuration based on the cores
19 ifeq ($(CORE),c6xdsp)
20 CFLAGS_LOCAL_c6a811x-evm = -DBUILD_C6A811X_DSP
21 endif
22 ifeq ($(CORE),a8host)
23 CFLAGS_LOCAL_c6a811x-evm = -DBUILD_C6A811X_A8
24 endif
25 ifeq ($(CORE),m3video)
26 CFLAGS_LOCAL_c6a811x-evm = -DBUILD_C6A811X_M3VIDEO
27 endif
28 ifeq ($(CORE),m3vpss)
29 CFLAGS_LOCAL_c6a811x-evm = -DBUILD_C6A811X_M3VPSS
30 endif
31 ifeq ($(CORE),a15host)
32 CFLAGS_LOCAL_tda2xx = -DBUILD_TDA2XX_MPU
33 endif
35 # Core/SoC/platform specific source files and CFLAGS
36 # Example:
37 #   SRCS_<core/SoC/platform-name> =
38 #   CFLAGS_LOCAL_<core/SoC/platform-name> =
39 SRCS_c6472-evm = edma3_c6472_cfg.c
40 SRCS_tci6486-evm = edma3_tci6486_cfg.c
41 SRCS_tci6608-sim = edma3_tci6608_cfg.c
42 SRCS_tci6616-sim = edma3_tci6616_cfg.c
43 SRCS_tci6614-sim = edma3_tci6614_cfg.c
44 SRCS_c6657-sim = edma3_c6657_cfg.c
45 SRCS_tci6638k2k-sim = edma3_tci6638k2k_cfg.c
46 SRCS_c6670-evm = edma3_c6670_cfg.c
47 SRCS_c6678-evm = edma3_c6678_cfg.c
48 SRCS_tci6614-evm = edma3_tci6614_cfg.c
49 SRCS_c6657-evm = edma3_c6657_cfg.c
50 SRCS_tci6638k2k-evm = edma3_tci6638k2k_cfg.c
51 SRCS_tci6636k2h-evm = edma3_tci6636k2h_cfg.c
52 SRCS_tci6630k2l-evm = edma3_tci6630k2l_cfg.c
53 SRCS_c66ak2e-evm = edma3_c66ak2e_cfg.c
54 SRCS_tci66ak2g02-evm = edma3_tci66ak2g02_cfg.c
55 SRCS_omapl137-evm = edma3_omapl137_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