index 985c93e14e81e6977d02ba0656a0a97b5c94d25e..3754147fe66e12c747b6e4f6c71dd3f335cbf6ff 100644 (file)
SRCDIR = src src/configs
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 =
+INCLUDE_EXERNAL_INTERFACES =
# Common source files and CFLAGS across all platforms and cores
SRCS_COMMON = edma3resmgr.c edma3_rm_gbl_data.c
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> =
SRCS_c6472-evm = edma3_c6472_cfg.c
SRCS_tci6486-evm = edma3_tci6486_cfg.c
CFLAGS_LOCAL_generic = -DGENERIC
# Include common make files
-include $(ROOTDIR)/makerules/common.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
+# OBJs and libraries are built by using rule defined in rules_<target>.mk
# and need not be explicitly specified here
# Nothing beyond this point