index 421916b32c44434812824596338fd6eb4002d8ac..10783e3712e2bf109d9ba51b89315ea653531482 100644 (file)
SRCDIR = src
INCDIR = . ../../../.. src
-# List all the external components/interfaces, whose interface header files
+# List all the external components/interfaces, whose interface header files
# need to be included for this component
-INCLUDE_EXERNAL_INTERFACES = bios xdc
+INCLUDE_EXERNAL_INTERFACES =
# Common source files and CFLAGS across all platforms and cores
SRCS_COMMON = edma3_drv_init.c edma3_drv_basic.c edma3_drv_adv.c
+ifeq ($(CORE),c6xdsp)
CFLAGS_LOCAL_COMMON = -mi10
+endif
# Core/SoC/platform specific source files and CFLAGS
-# Example:
-# SRCS_<core/SoC/platform-name> =
+# Example:
+# SRCS_<core/SoC/platform-name> =
# CFLAGS_LOCAL_<core/SoC/platform-name> =
# Include common make files
-include $(ROOTDIR)/makerules/common.mk
-
-# OBJs and libraries are built by using rule defined in rules_<target>.mk
+ifeq ($(MAKERULEDIR), )
+#Makerule path not defined, define this and assume relative path from ROOTDIR
+ MAKERULEDIR := $(ROOTDIR)/makerules
+ export MAKERULEDIR
+endif
+include $(MAKERULEDIR)/common.mk
+
+# OBJs and libraries are built by using rule defined in rules_<target>.mk
# and need not be explicitly specified here
# Nothing beyond this point