Updated Top level Makefile and component.mk
authorSundaram Raju <sundaram@ti.com>
Wed, 2 Feb 2011 09:33:51 +0000 (15:03 +0530)
committerSundaram Raju <sundaram@ti.com>
Wed, 2 Feb 2011 10:09:37 +0000 (15:39 +0530)
- Added the ARM examples into default build
- Made build of ARM libraries and examples conditional to ELF format
- Added Generic RM libraries to default build

Signed-off-by: Sundaram Raju <sundaram@ti.com>
packages/component.mk [changed mode: 0644->0755]
packages/makefile [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 4364017..662a879
@@ -39,9 +39,10 @@ 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_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
+                          edma3_drv_ti816x_sim_sample edma3_drv_tci6498_sample edma3_drv_tci6498be_sample \
+                          edma3_drv_ti814x_sample edma3_drv_arm_ti814x_sample edma3_drv_arm_omapl138_sample 
 
 # List of libraries
 edma3_lld_LIBS_ALL = edma3_lld_rm edma3_lld_drv edma3_lld_rm_sample edma3_lld_drv_sample
@@ -99,8 +100,11 @@ edma3_drv_tci6486_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_tci6486_s
 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_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_arm_ti814x_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTI814x_ARM
+edma3_drv_arm_ti814x_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_arm_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)
old mode 100644 (file)
new mode 100755 (executable)
index c53ec26..845c0f7
@@ -63,8 +63,18 @@ 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
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making a8:debug:edma3_lld_drv 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=debug
+       $(ECHO) \# Making a8:release:edma3_lld_drv 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
+       $(ECHO) \# Making arm9:debug:edma3_lld_drv 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Making arm9:release:edma3_lld_drv 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+endif
 
-edma3_lld_rm:
+edma3_lld_rm: edma3_lld_rm_generic
        $(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 
@@ -113,6 +123,46 @@ 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
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making ti814x-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=debug
+       $(ECHO) \# Making ti814x-evm:rel:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
+       $(ECHO) \# Making omapl138-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Making omapl138-evm:rel:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+endif
+# Generic platform
+edma3_lld_rm_generic:
+
+       $(ECHO) \# Making generic/c674:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=674 PROFILE_674=debug
+       $(ECHO) \# Making generic/c674:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=674 PROFILE_674=release
+       $(ECHO) \# Making generic/c64p:debug:edma3_lld_rm: -for big_endian
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=debug ENDIAN=big
+       $(ECHO) \# Making generic/c64p:release:edma3_lld_rm: -for big_endian
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=release ENDIAN=big
+       $(ECHO) \# Making generic/c64p:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=debug ENDIAN=little
+       $(ECHO) \# Making generic/c64p:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=release ENDIAN=little
+       $(ECHO) \# Making generic/m3:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=m3 PROFILE_m3=debug
+       $(ECHO) \# Making generic/m3:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=m3 PROFILE_m3=release
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making generic/a8:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=a8 PROFILE_a8=debug
+       $(ECHO) \# Making generic/a8:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=a8 PROFILE_a8=release
+       $(ECHO) \# Making generic/arm9:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Making generic/arm9:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=arm9 PROFILE_arm9=release
+endif
  
 edma3_lld_rm_sample:
        $(ECHO) \# Making c6472-evm:debug:edma3_lld_rm_sample 
@@ -163,7 +213,17 @@ 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
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making ti814x-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=debug
+       $(ECHO) \# Making ti814x-evm:rel:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
+       $(ECHO) \# Making omapl138-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Making omapl138-evm:rel:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+endif
+
 edma3_lld_drv_sample:
        $(ECHO) \# Making c6472-evm:debug:edma3_lld_drv_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm PROFILE_c6xdsp=debug
@@ -213,6 +273,16 @@ 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
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making ti814x-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=debug
+       $(ECHO) \# Making ti814x-evm:rel:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
+       $(ECHO) \# Making omapl138-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Making omapl138-evm:rel:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+endif
 
 #
 # Rule to build all examples
@@ -267,7 +337,7 @@ edma3_drv_omapl138_sample:
        $(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
@@ -297,7 +367,17 @@ edma3_drv_ti816x_sample:
        $(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_ti814x_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti814x-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti814x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti814x-evm CORE=c6xdsp PROFILE_c6xdsp=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti814x-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
@@ -327,7 +407,31 @@ edma3_drv_tci6498be_sample:
        $(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
+
+edma3_drv_arm_omapl138_sample:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Configuring XDC packages for $@:arm9:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Configuring XDC packages for $@:arm9:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+endif
+
+edma3_drv_arm_ti814x_sample:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Configuring XDC packages for $@:a8:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=debug
+       $(ECHO) \# Configuring XDC packages for $@:a8:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
+endif
+
 # Clean targets
 
 edma3_lld_drv_clean:
@@ -343,8 +447,18 @@ edma3_lld_drv_clean:
        $(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
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Cleaning a8:debug:edma3_lld_drv 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=debug
+       $(ECHO) \# Cleaning a8:release:edma3_lld_drv 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
+       $(ECHO) \# Cleaning arm9:debug:edma3_lld_drv 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Cleaning arm9:release:edma3_lld_drv 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+endif
 
-edma3_lld_rm_clean:
+edma3_lld_rm_clean: edma3_lld_rm_generic_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 
@@ -393,7 +507,47 @@ edma3_lld_rm_clean:
        $(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
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Cleaning ti814x-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=debug
+       $(ECHO) \# Cleaning ti814x-evm:rel:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
+       $(ECHO) \# Cleaning omapl138-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Cleaning omapl138-evm:rel:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+endif
+
+# Generic platform
+edma3_lld_rm_generic_clean:
+
+       $(ECHO) \# Cleaning generic/c674:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=674 PROFILE_674=debug
+       $(ECHO) \# Cleaning generic/c674:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=674 PROFILE_674=release
+       $(ECHO) \# Cleaning generic/c64p:debug:edma3_lld_rm: -for big_endian
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=debug ENDIAN=big
+       $(ECHO) \# Cleaning generic/c64p:release:edma3_lld_rm: -for big_endian
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=release ENDIAN=big
+       $(ECHO) \# Cleaning generic/c64p:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=debug ENDIAN=little
+       $(ECHO) \# Cleaning generic/c64p:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=release ENDIAN=little
+       $(ECHO) \# Cleaning generic/m3:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=m3 PROFILE_m3=debug
+       $(ECHO) \# Cleaning generic/m3:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=m3 PROFILE_m3=release
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Cleaning generic/a8:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=a8 PROFILE_a8host=debug
+       $(ECHO) \# Cleaning generic/a8:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=a8 PROFILE_a8host=release
+       $(ECHO) \# Cleaning generic/arm9:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Cleaning generic/arm9:release:edma3_lld_rm 
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=arm9 PROFILE_arm9=release
+endif
+   
 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
@@ -443,6 +597,16 @@ edma3_lld_rm_sample_clean:
        $(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
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Cleaning ti814x-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=debug
+       $(ECHO) \# Cleaning ti814x-evm:rel:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
+       $(ECHO) \# Cleaning omapl138-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Cleaning omapl138-evm:rel:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+endif
  
 edma3_lld_drv_sample_clean:
        $(ECHO) \# Cleaning c6472-evm:debug:edma3_lld_drv_sample 
@@ -493,12 +657,108 @@ edma3_lld_drv_sample_clean:
        $(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
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Cleaning ti814x-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=debug
+       $(ECHO) \# Cleaning ti814x-evm:rel:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
+       $(ECHO) \# Cleaning omapl138-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Cleaning omapl138-evm:rel:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+endif
 
+#
+# Rule to clean all examples
+#
+
+edma3_drv_c6472_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6472-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6472-evm PROFILE_c6xdsp=release
+
+edma3_drv_c6472be_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6472-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6472-evm PROFILE_c6xdsp=release ENDIAN=big
+edma3_drv_c6748_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6748-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6748-evm PROFILE_c6xdsp=release
+edma3_drv_da830_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=da830-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=da830-evm 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
+       $(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
+
+edma3_drv_arm_omapl138_sample_clean:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+endif
+  
+edma3_drv_tci6486_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tci6486-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tci6486-evm PROFILE_c6xdsp=release
+edma3_drv_tci6486be_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tci6486-evm PROFILE_c6xdsp=debug ENDIAN=big
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tci6486-evm PROFILE_c6xdsp=release ENDIAN=big
+edma3_drv_ti816x_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti816x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti816x-evm PROFILE_c6xdsp=release
+
+edma3_drv_ti814x_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti814x-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti814x-evm PROFILE_c6xdsp=release
+
+edma3_drv_arm_ti814x_sample_clean:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
+endif
+
+edma3_drv_ti816x_sim_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti816x-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti816x-sim PROFILE_c6xdsp=release
+edma3_drv_tci6498_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tci6498-sim PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tci6498-sim PROFILE_c6xdsp=release
+edma3_drv_tci6498be_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tci6498-sim PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Cleaning example $@:release
-       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean PLATFORM=omapl138-evm PROFILE_c6xdsp=release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tci6498-sim PROFILE_c6xdsp=release ENDIAN=big
  
 # Help
 help: