summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b73a262)
raw | patch | inline | side by side (parent: b73a262)
author | Sivaraj R <sivaraj@ti.com> | |
Tue, 18 Mar 2014 08:14:26 +0000 (13:44 +0530) | ||
committer | Sivaraj R <sivaraj@ti.com> | |
Tue, 18 Mar 2014 12:54:16 +0000 (18:24 +0530) |
- When EDMA3 LLD is built using external makerules, this is required
inorder to provide exact control over the makerule file path
- Without this, earlier we are assuming the files are present in
$(ROOTDIR)/makerule folder which may not be true with other external
package builds
- The change is backward compatibile as we check for null before using
MAKERULEDIR
Signed-off-by: Sivaraj R <sivaraj@ti.com>
inorder to provide exact control over the makerule file path
- Without this, earlier we are assuming the files are present in
$(ROOTDIR)/makerule folder which may not be true with other external
package builds
- The change is backward compatibile as we check for null before using
MAKERULEDIR
Signed-off-by: Sivaraj R <sivaraj@ti.com>
index c6f5ccc228ccc196885f862d111549d3dcd4cf41..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 =
+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
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
+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
index d1c1d63f09db56682ebca62186cf9a046bd41f2a..1c52b6042702f069d1e77667aec1586042b6df39 100755 (executable)
SRCDIR = src src/platforms
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
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> =
ifeq ($(CORE),c6xdsp)
SRCS_c6472-evm = sample_c6472_cfg.c sample_c6472_int_reg.c
CFLAGS_LOCAL_c6a811x-evm += -DCHIP_C6A811X
# 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
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
index 29e93f05f080b057ff0f6f4e28f17434879b87f3..4973b01d48a1b8f0af2f1c60eb62880d56861ae5 100755 (executable)
SRCDIR = src src/platforms
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
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> =
ifeq ($(CORE),c6xdsp)
SRCS_c6472-evm = sample_c6472_cfg.c sample_c6472_int_reg.c
CFLAGS_LOCAL_ti814x-evm = -DCHIP_TI814X
# 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