X-Git-Url: https://git.ti.com/gitweb?p=keystone-rtos%2Fedma3_lld.git;a=blobdiff_plain;f=packages%2Fti%2Fsdo%2Fedma3%2Frm%2Fsample%2Fmakefile;h=4973b01d48a1b8f0af2f1c60eb62880d56861ae5;hp=29e93f05f080b057ff0f6f4e28f17434879b87f3;hb=dab1d0f796b0896a9744de1b6338e37744d2c4b9;hpb=b73a262bf6f6d366e3bf83d0c116be2b61a86dde;ds=sidebyside diff --git a/packages/ti/sdo/edma3/rm/sample/makefile b/packages/ti/sdo/edma3/rm/sample/makefile index 29e93f0..4973b01 100755 --- a/packages/ti/sdo/edma3/rm/sample/makefile +++ b/packages/ti/sdo/edma3/rm/sample/makefile @@ -5,7 +5,7 @@ MODULE_NAME = edma3_lld_rm_sample 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 @@ -20,8 +20,8 @@ CFLAGS_LOCAL_COMMON = -mi10 endif # Core/SoC/platform specific source files and CFLAGS -# Example: -# SRCS_ = +# Example: +# SRCS_ = # CFLAGS_LOCAL_ = ifeq ($(CORE),c6xdsp) SRCS_c6472-evm = sample_c6472_cfg.c sample_c6472_int_reg.c @@ -77,9 +77,14 @@ SRCS_da830-evm = sample_da830_cfg.c sample_da830_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_.mk +# OBJs and libraries are built by using rule defined in rules_.mk # and need not be explicitly specified here # Nothing beyond this point