Added makefile for each component and the top level makefile
authorSundaram Raju <sundaram@ti.com>
Tue, 11 Jan 2011 14:06:53 +0000 (19:36 +0530)
committerSundaram Raju <sundaram@ti.com>
Tue, 11 Jan 2011 14:55:59 +0000 (20:25 +0530)
Also added the component.mk file

Signed-off-by: Sundaram Raju <sundaram@ti.com>
packages/component.mk [new file with mode: 0644]
packages/makefile [new file with mode: 0644]
packages/ti/sdo/edma3/drv/makefile [new file with mode: 0644]
packages/ti/sdo/edma3/drv/sample/makefile [new file with mode: 0644]
packages/ti/sdo/edma3/rm/makefile [new file with mode: 0644]
packages/ti/sdo/edma3/rm/sample/makefile [new file with mode: 0644]

diff --git a/packages/component.mk b/packages/component.mk
new file mode 100644 (file)
index 0000000..4364017
--- /dev/null
@@ -0,0 +1,117 @@
+# File: component.mk
+#       This file is component include make file of OMX.
+
+# List of variables set in this file and their purpose:
+# <mod>_RELPATH        - This is the relative path of the module, typically from
+#                        top-level directory of the package
+# <mod>_PATH           - This is the absolute path of the module. It derives from
+#                        absolute path of the top-level directory (set in env.mk)
+#                        and relative path set above
+# <mod>_INCLUDE        - This is the path that has interface header files of the
+#                        module. This can be multiple directories (space separated)
+# <mod>_PKG_LIST       - Names of the modules (and sub-modules) that are a part
+#                        part of this module, including itself.
+# <mod>_PLATFORM_DEPENDENCY - "yes": means the code for this module depends on 
+#                             platform and the compiled obj/lib has to be kept
+#                             under <platform> directory
+#                             "no" or "" or if this variable is not defined: means
+#                             this module has no platform dependent code and hence
+#                             the obj/libs are not kept under <platform> dir.
+# <mod>_CORE_DEPENDENCY     - "yes": means the code for this module depends on 
+#                             core and the compiled obj/lib has to be kept
+#                             under <core> directory
+#                             "no" or "" or if this variable is not defined: means
+#                             this module has no core dependent code and hence
+#                             the obj/libs are not kept under <core> dir.
+# <mod>_APP_STAGE_FILES     - List of source files that belongs to the module
+#                             <mod>, but that needs to be compiled at application
+#                             build stage (in the context of the app). This is
+#                             primarily for link time configurations or if the
+#                             source file is dependent on options/defines that are
+#                             application dependent. This can be left blank or
+#                             not defined at all, in which case, it means there
+#                             no source files in the module <mod> that are required
+#                             to be compiled in the application build stage.
+#
+
+# List of modules under EDMA3 LLD
+edma3_lld_COMP_LIST_c6xdsp = edma3_lld_rm edma3_lld_drv
+
+# List of examples under EDMA3 LLD
+edma3_lld_EXAMPLES_LIST = edma3_drv_c6472_sample edma3_drv_c6472be_sample edma3_drv_c6748_sample \
+                          edma3_drv_da830_sample edma3_drv_omapl138_sample  \
+                          edma3_drv_tci6486_sample edma3_drv_tci6486be_sample edma3_drv_ti816x_sample \
+                          edma3_drv_ti816x_sim_sample edma3_drv_tci6498_sample edma3_drv_tci6498be_sample
+
+# List of libraries
+edma3_lld_LIBS_ALL = edma3_lld_rm edma3_lld_drv edma3_lld_rm_sample edma3_lld_drv_sample
+
+# EDMA3 LLD RM - Resource manager
+edma3_lld_rm_RELPATH = ti/sdo/edma3/rm
+edma3_lld_rm_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_rm_RELPATH)
+edma3_lld_rm_INCLUDE = $(edma3_lld_rm_PATH) $(edma3_lld_rm_PATH)/src
+edma3_lld_rm_PKG_LIST = edma3_lld_rm edma3_lld_rm_sample
+edma3_lld_rm_PLATFORM_DEPENDENCY = yes
+
+edma3_lld_rm_sample_RELPATH = ti/sdo/edma3/rm/sample
+edma3_lld_rm_sample_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_rm_sample_RELPATH)
+edma3_lld_rm_sample_INCLUDE = $(edma3_lld_rm_sample_PATH) $(edma3_lld_rm_sample_PATH)/src
+edma3_lld_rm_sample_PLATFORM_DEPENDENCY = yes
+
+# EDMA3 LLD DRV - Driver
+edma3_lld_drv_RELPATH = ti/sdo/edma3/drv
+edma3_lld_drv_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_drv_RELPATH)
+edma3_lld_drv_INCLUDE = $(edma3_lld_drv_PATH) $(edma3_lld_drv_PATH)/src
+edma3_lld_drv_PKG_LIST = edma3_lld_drv edma3_lld_drv_sample
+edma3_lld_drv_PLATFORM_DEPENDENCY = no
+
+edma3_lld_drv_sample_RELPATH = ti/sdo/edma3/drv/sample
+edma3_lld_drv_sample_PATH = $(edma3_lld_PATH)/packages/$(edma3_lld_drv_sample_RELPATH)
+edma3_lld_drv_sample_INCLUDE = $(edma3_lld_drv_sample_PATH) $(edma3_lld_drv_sample_PATH)/src
+edma3_lld_drv_sample_PLATFORM_DEPENDENCY = yes
+
+# EDMA3 LLD top level
+edma3_lld_INCLUDE = $(edma3_lld_PATH)/packages $(edma3_lld_rm_INCLUDE) $(edma3_lld_drv_INCLUDE) \
+                    $(edma3_lld_rm_sample_INCLUDE) $(edma3_lld_drv_sample_INCLUDE)
+
+# EDMA3 LLD examples
+edma3_drv_c6472_sample_EXAMPLES_RELPATH = examples/edma3_driver/evm6472
+edma3_drv_c6472_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6472_sample_EXAMPLES_RELPATH)
+
+edma3_drv_c6472be_sample_EXAMPLES_RELPATH = examples/edma3_driver/evm6472BE
+edma3_drv_c6472be_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6472be_sample_EXAMPLES_RELPATH)
+
+edma3_drv_c6748_sample_EXAMPLES_RELPATH = examples/edma3_driver/evm6748
+edma3_drv_c6748_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_c6748_sample_EXAMPLES_RELPATH)
+
+edma3_drv_da830_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmDA830
+edma3_drv_da830_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_da830_sample_EXAMPLES_RELPATH)
+
+edma3_drv_omapl138_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmOMAPL138
+edma3_drv_omapl138_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_omapl138_sample_EXAMPLES_RELPATH)
+
+edma3_drv_arm_omapl138_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmOMAPL138_ARM
+edma3_drv_arm_omapl138_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_arm_omapl138_sample_EXAMPLES_RELPATH)
+
+edma3_drv_tci6486_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTCI6486
+edma3_drv_tci6486_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6486_sample_EXAMPLES_RELPATH)
+
+edma3_drv_tci6486be_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTCI6486BE
+edma3_drv_tci6486be_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6486be_sample_EXAMPLES_RELPATH)
+
+#edma3_drv_ti814x_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTI814x
+#edma3_drv_ti814x_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti814x_sample_EXAMPLES_RELPATH)
+
+edma3_drv_ti816x_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTI816x
+edma3_drv_ti816x_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti816x_sample_EXAMPLES_RELPATH)
+
+edma3_drv_ti816x_sim_sample_EXAMPLES_RELPATH = examples/edma3_driver/simTI816x
+edma3_drv_ti816x_sim_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti816x_sim_sample_EXAMPLES_RELPATH)
+
+edma3_drv_tci6498_sample_EXAMPLES_RELPATH = examples/edma3_driver/simTCI6498
+edma3_drv_tci6498_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6498_sample_EXAMPLES_RELPATH)
+
+edma3_drv_tci6498be_sample_EXAMPLES_RELPATH = examples/edma3_driver/simTCI6498BE
+edma3_drv_tci6498be_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6498be_sample_EXAMPLES_RELPATH)
+
+# Nothing beyond this point
diff --git a/packages/makefile b/packages/makefile
new file mode 100644 (file)
index 0000000..c53ec26
--- /dev/null
@@ -0,0 +1,515 @@
+#
+# EDMA3 LLD
+#
+
+ifeq ($(ROOTDIR),)
+  $(error Error: Environment variable ROOTDIR not set)
+endif
+
+# Begin block - Build options
+#  By the end of this block, we'd have either xdc or make or both in BUILD_OPTIONS
+#  using which, we'd build either XDC packages (+run configuro) 
+#  or make based components (+link) or both.
+BUILD_OPTIONS = xdc make
+VALID_BUILD_OPTIONS = full $(BUILD_OPTIONS)
+ifeq ($(filter $(BUILD),$(VALID_BUILD_OPTIONS)),)
+ ifeq ($(BUILD),)
+  BUILD = full
+ else
+  $(error Error: Invalid value specified for BUILD. Valid values are - $(VALID_BUILD_OPTIONS))
+ endif
+endif
+ifneq ($(BUILD),full)
+ BUILD_OPTIONS = $(BUILD)
+endif
+# End block - Build options
+
+include $(ROOTDIR)/makerules/build_config.mk
+include $(ROOTDIR)/makerules/env.mk
+include component.mk
+
+# Listing common targets
+edma3_lld_COMP_LIST_ALL = $(edma3_lld_COMP_LIST_c6xdsp)
+edma3_lld_PKG_LIST_ALL = $(foreach PKG,$(edma3_lld_COMP_LIST_ALL),$($(PKG)_PKG_LIST))
+CLEANALL_TARGETS = $(addsuffix _clean, $(edma3_lld_PKG_LIST_ALL))
+CLEANALL_EXAMPLES = $(addsuffix _clean, $(edma3_lld_EXAMPLES_LIST))
+
+.PHONY : $(edma3_lld_LIBS_ALL) $(edma3_lld_EXAMPLES_LIST)
+
+all: libs examples
+
+libs: $(edma3_lld_LIBS_ALL)
+
+examples: $(edma3_lld_EXAMPLES_LIST)
+
+clean: $(CLEANALL_TARGETS)
+
+cleanall: $(CLEANALL_TARGETS) $(CLEANALL_EXAMPLES)
+
+#
+# Rule to build all modules
+#
+
+edma3_lld_drv:
+       $(ECHO) \# Making c64p:debug:edma3_lld_drv
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making c64p:release:edma3_lld_drv
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making c64p:debug:edma3_lld_drv -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making c64p:release:edma3_lld_drv -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making c674:debug:edma3_lld_drv 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making c674:release:edma3_lld_drv 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm PROFILE_c6xdsp=release
+
+edma3_lld_rm:
+       $(ECHO) \# Making c6472-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making tci6486-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making tci6498-sim:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Making c6472-evm:debug:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making tci6486-evm:debug:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making tci6498-sim:debug:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making omapl138-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making c6748-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6748-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making da830-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=da830-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making ti814x-evm :debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making ti816x-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making ti816x-sim:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Making c6472-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making tci6486-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making tci6498-sim:release:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=release
+       $(ECHO) \# Making c6472-evm:release:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making tci6486-evm:release:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making tci6498-sim:release:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making omapl138-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making c6748-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6748-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making da830-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=da830-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making ti814x-evm :release:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making ti816x-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making ti816x-sim:release:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-sim PROFILE_c6xdsp=release
+edma3_lld_rm_sample:
+       $(ECHO) \# Making c6472-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making tci6486-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making tci6498-sim:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Making c6472-evm:debug:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making tci6486-evm:debug:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making tci6498-sim:debug:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making omapl138-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making c6748-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6748-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making da830-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=da830-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making ti814x-evm :debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making ti816x-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making ti816x-sim:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Making c6472-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making tci6486-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making tci6498-sim:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=release
+       $(ECHO) \# Making c6472-evm:release:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making tci6486-evm:release:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making tci6498-sim:release:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making omapl138-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making c6748-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6748-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making da830-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=da830-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making ti814x-evm :release:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making ti816x-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making ti816x-sim:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-sim PROFILE_c6xdsp=release
+edma3_lld_drv_sample:
+       $(ECHO) \# Making c6472-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making tci6486-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making tci6498-sim:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Making c6472-evm:debug:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making tci6486-evm:debug:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making tci6498-sim:debug:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making omapl138-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making c6748-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6748-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making da830-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=da830-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making ti814x-evm :debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making ti816x-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Making ti816x-sim:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Making c6472-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making tci6486-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making tci6498-sim:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=release
+       $(ECHO) \# Making c6472-evm:release:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making tci6486-evm:release:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making tci6498-sim:release:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($@_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making omapl138-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making c6748-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=c6748-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making da830-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=da830-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making ti814x-evm :release:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making ti816x-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Making ti816x-sim:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-sim PROFILE_c6xdsp=release
+
+#
+# Rule to build all examples
+#
+
+edma3_drv_c6472_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=release
+
+edma3_drv_c6472be_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=release ENDIAN=big
+edma3_drv_c6748_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6748-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6748-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6748-evm CORE=c6xdsp PROFILE_c6xdsp=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6748-evm PROFILE_c6xdsp=release
+edma3_drv_da830_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=da830-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=da830-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=da830-evm CORE=c6xdsp PROFILE_c6xdsp=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=da830-evm PROFILE_c6xdsp=release
+edma3_drv_omapl138_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=omapl138-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=omapl138-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=omapl138-evm CORE=c6xdsp PROFILE_c6xdsp=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=omapl138-evm PROFILE_c6xdsp=release
+edma3_drv_tci6486_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=release
+edma3_drv_tci6486be_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6486-evm PROFILE_c6xdsp=release ENDIAN=big
+edma3_drv_ti816x_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti816x-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti816x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti816x-evm CORE=c6xdsp PROFILE_c6xdsp=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti816x-evm PROFILE_c6xdsp=release
+edma3_drv_ti816x_sim_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti816x-sim CORE=c6xdsp PROFILE_c6xdsp=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti816x-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti816x-sim CORE=c6xdsp PROFILE_c6xdsp=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti816x-sim PROFILE_c6xdsp=release
+edma3_drv_tci6498_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6498-sim CORE=c6xdsp PROFILE_c6xdsp=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6498-sim CORE=c6xdsp PROFILE_c6xdsp=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=release
+edma3_drv_tci6498be_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6498-sim CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6498-sim CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6498-sim PROFILE_c6xdsp=release ENDIAN=big
+# Clean targets
+
+edma3_lld_drv_clean:
+       $(ECHO) \# Cleaning c64p:debug:edma3_lld_drv
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning c64p:release:edma3_lld_drv
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning c64p:debug:edma3_lld_drv -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Cleaning c64p:release:edma3_lld_drv -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Cleaning c674:debug:edma3_lld_drv 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning c674:release:edma3_lld_drv 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm PROFILE_c6xdsp=release
+
+edma3_lld_rm_clean:
+       $(ECHO) \# Cleaning c6472-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning tci6486-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning tci6498-sim:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning c6472-evm:debug:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Cleaning tci6486-evm:debug:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Cleaning tci6498-sim:debug:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Cleaning omapl138-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning c6748-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6748-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning da830-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=da830-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning ti814x-evm :debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning ti816x-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning ti816x-sim:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning c6472-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning tci6486-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning tci6498-sim:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning c6472-evm:release:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Cleaning tci6486-evm:release:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Cleaning tci6498-sim:release:edma3_lld_rm -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Cleaning omapl138-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning c6748-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6748-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning da830-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=da830-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning ti814x-evm :release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning ti816x-evm:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning ti816x-sim:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-sim PROFILE_c6xdsp=release
+edma3_lld_rm_sample_clean:
+       $(ECHO) \# Cleaning c6472-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning tci6486-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning tci6498-sim:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning c6472-evm:debug:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Cleaning tci6486-evm:debug:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# CleaningCleaningtci6498-sim:debug:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Cleaning omapl138-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning c6748-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6748-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning da830-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=da830-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning ti814x-evm :debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning ti816x-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning ti816x-sim:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning c6472-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning tci6486-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning tci6498-sim:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning c6472-evm:release:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Cleaning tci6486-evm:release:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Cleaning tci6498-sim:release:edma3_lld_rm_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Cleaning omapl138-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning c6748-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6748-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning da830-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=da830-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning ti814x-evm :release:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning ti816x-evm:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning ti816x-sim:release:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-sim PROFILE_c6xdsp=release
+edma3_lld_drv_sample_clean:
+       $(ECHO) \# Cleaning c6472-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning tci6486-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning tci6498-sim:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning c6472-evm:debug:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Cleaning tci6486-evm:debug:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Cleaning tci6498-sim:debug:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Cleaning omapl138-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning c6748-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6748-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning da830-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=da830-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning ti814x-evm :debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning ti816x-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning ti816x-sim:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning c6472-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning tci6486-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning tci6498-sim:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning c6472-evm:release:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6472-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Cleaning tci6486-evm:release:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6486-evm PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Cleaning tci6498-sim:release:edma3_lld_drv_sample -for big_endian
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=tci6498-sim PROFILE_c6xdsp=release ENDIAN=big
+       $(ECHO) \# Cleaning omapl138-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning c6748-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=c6748-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning da830-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=da830-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning ti814x-evm :release:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning ti816x-evm:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm PROFILE_c6xdsp=release
+       $(ECHO) \# Cleaning ti816x-sim:release:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-sim PROFILE_c6xdsp=release
+
+edma3_drv_omapl138_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean PLATFORM=omapl138-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean PLATFORM=omapl138-evm PROFILE_c6xdsp=release
+# Help
+help:
+       $(ECHO) EDMA3 LLD Driver Help page
+       $(ECHO) To build libraries and examples:
+       $(ECHO) "Command line: make [all\|libs\|examples] [FORMAT=\{ELF\|COFF\}]"
+       $(ECHO) "       Default target is "all", which builds both libraries and examples"
+       $(ECHO) "       Default FORMAT is specified in makerules/build_config.mk. This can be"
+       $(ECHO) "        overridden by specifying a different FORMAT here."
+       $(ECHO) To clean the build files:
+       $(ECHO) "Command line: make \{clean\|cleanall\}"
+
+
+# Nothing beyond this point
diff --git a/packages/ti/sdo/edma3/drv/makefile b/packages/ti/sdo/edma3/drv/makefile
new file mode 100644 (file)
index 0000000..421916b
--- /dev/null
@@ -0,0 +1,27 @@
+# Makefile for EDMA3 LLD DRV
+
+MODULE_NAME = edma3_lld_drv
+
+SRCDIR = src
+INCDIR = . ../../../.. src
+
+# List all the external components/interfaces, whose interface header files 
+#  need to be included for this component
+INCLUDE_EXERNAL_INTERFACES = bios xdc
+
+# Common source files and CFLAGS across all platforms and cores
+SRCS_COMMON = edma3_drv_init.c edma3_drv_basic.c edma3_drv_adv.c
+CFLAGS_LOCAL_COMMON = -mi10
+
+# Core/SoC/platform specific source files and CFLAGS
+# 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 
+#     and need not be explicitly specified here
+
+# Nothing beyond this point
diff --git a/packages/ti/sdo/edma3/drv/sample/makefile b/packages/ti/sdo/edma3/drv/sample/makefile
new file mode 100644 (file)
index 0000000..6876691
--- /dev/null
@@ -0,0 +1,36 @@
+# Makefile for EDMA3 LLD DRV Sample
+
+MODULE_NAME = edma3_lld_drv_sample
+
+SRCDIR = src src/platforms
+INCDIR = . ../../../../.. src
+
+# List all the external components/interfaces, whose interface header files 
+#  need to be included for this component
+INCLUDE_EXERNAL_INTERFACES = bios xdc
+
+# Common source files and CFLAGS across all platforms and cores
+SRCS_COMMON = sample_cs.c sample_init.c
+CFLAGS_LOCAL_COMMON = -mi10
+
+# Core/SoC/platform specific source files and CFLAGS
+# Example: 
+#   SRCS_<core/SoC/platform-name> = 
+#   CFLAGS_LOCAL_<core/SoC/platform-name> =
+SRCS_c6472-evm = sample_c6472_cfg.c sample_c6472_int_reg.c
+SRCS_tci6486-evm = sample_tci6486_cfg.c sample_tci6486_int_reg.c
+SRCS_tci6498-sim = sample_tci6498_cfg.c sample_tci6498_int_reg.c
+SRCS_omapl138-evm = sample_omapl138_cfg.c sample_omapl138_int_reg.c
+SRCS_c6748-evm = sample_c6748_cfg.c sample_c6748_int_reg.c
+SRCS_da830-evm = sample_da830_cfg.c sample_da830_int_reg.c
+SRCS_ti814x-evm = sample_ti814x_cfg.c sample_ti814x_int_reg.c
+SRCS_ti816x-evm = sample_ti816x_cfg.c sample_ti816x_int_reg.c
+SRCS_ti816x-sim = sample_ti816x_cfg.c sample_ti816x_int_reg.c
+
+# Include common make files
+include $(ROOTDIR)/makerules/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
diff --git a/packages/ti/sdo/edma3/rm/makefile b/packages/ti/sdo/edma3/rm/makefile
new file mode 100644 (file)
index 0000000..f2b4c13
--- /dev/null
@@ -0,0 +1,36 @@
+# Makefile for EDMA3 LLD RM
+
+MODULE_NAME = edma3_lld_rm
+
+SRCDIR = src src/configs
+INCDIR = . ../../../.. src
+
+# List all the external components/interfaces, whose interface header files 
+#  need to be included for this component
+INCLUDE_EXERNAL_INTERFACES = bios xdc
+
+# Common source files and CFLAGS across all platforms and cores
+SRCS_COMMON = edma3resmgr.c edma3_rm_gbl_data.c
+CFLAGS_LOCAL_COMMON = -mi10
+
+# Core/SoC/platform specific source files and CFLAGS
+# 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
+SRCS_tci6498-sim = edma3_tci6498_cfg.c
+SRCS_omapl138-evm = edma3_omapl138_cfg.c
+SRCS_c6748-evm = edma3_c6748_cfg.c
+SRCS_da830-evm = edma3_da830_cfg.c
+SRCS_ti814x-evm = edma3_ti814x_cfg.c
+SRCS_ti816x-evm = edma3_ti816x_cfg.c
+SRCS_ti816x-sim = edma3_ti816x_cfg.c
+
+# Include common make files
+include $(ROOTDIR)/makerules/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
diff --git a/packages/ti/sdo/edma3/rm/sample/makefile b/packages/ti/sdo/edma3/rm/sample/makefile
new file mode 100644 (file)
index 0000000..a9fde68
--- /dev/null
@@ -0,0 +1,36 @@
+# Makefile for EDMA3 LLD RM Sample
+
+MODULE_NAME = edma3_lld_rm_sample
+
+SRCDIR = src src/platforms
+INCDIR = . ../../../../.. src
+
+# List all the external components/interfaces, whose interface header files 
+#  need to be included for this component
+INCLUDE_EXERNAL_INTERFACES = bios xdc
+
+# Common source files and CFLAGS across all platforms and cores
+SRCS_COMMON = sample_cs.c sample_init.c
+CFLAGS_LOCAL_COMMON = -mi10
+
+# Core/SoC/platform specific source files and CFLAGS
+# Example: 
+#   SRCS_<core/SoC/platform-name> = 
+#   CFLAGS_LOCAL_<core/SoC/platform-name> =
+SRCS_c6472-evm = sample_c6472_cfg.c sample_c6472_int_reg.c
+SRCS_tci6486-evm = sample_tci6486_cfg.c sample_tci6486_int_reg.c
+SRCS_tci6498-sim = sample_tci6498_cfg.c sample_tci6498_int_reg.c
+SRCS_omapl138-evm = sample_omapl138_cfg.c sample_omapl138_int_reg.c
+SRCS_c6748-evm = sample_c6748_cfg.c sample_c6748_int_reg.c
+SRCS_da830-evm = sample_da830_cfg.c sample_da830_int_reg.c
+SRCS_ti814x-evm = sample_ti814x_cfg.c sample_ti814x_int_reg.c
+SRCS_ti816x-evm = sample_ti816x_cfg.c sample_ti816x_int_reg.c
+SRCS_ti816x-sim = sample_ti816x_cfg.c sample_ti816x_int_reg.c
+
+# Include common make files
+include $(ROOTDIR)/makerules/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