Updated makefile to build C66x targets only with ELF DEV_EDMA3_LLD_02_11_01_02_RC01
authorRaghu Nambiath <rnambiath@ti.com>
Tue, 15 Feb 2011 01:10:22 +0000 (20:10 -0500)
committerSundaram Raju <sundaram@ti.com>
Tue, 15 Feb 2011 06:26:50 +0000 (11:56 +0530)
- This is required if 7.0.x CGTOOL chain is used.
- Older CGTOOL 7.0.x tool chain for COFF does not support C66x target

Signed-off-by: Sundaram Raju <sundaram@ti.com>
packages/makefile
packages/makefile_c66x

index 46cf8b1d845d096ea670468026ecd1e435c24b6d..3718f2dba945a4d5611e36613187a109b52cdc8b 100755 (executable)
@@ -59,6 +59,7 @@ edma3_lld_drv:
        $(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
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making c66:debug:edma3_lld_drv
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=debug
        $(ECHO) \# Making c66:release:edma3_lld_drv
@@ -67,6 +68,7 @@ edma3_lld_drv:
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making c66:release:edma3_lld_drv -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=release ENDIAN=big
+endif
        $(ECHO) \# Making c674:debug:edma3_lld_drv 
        $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm PROFILE_c6xdsp=debug
        $(ECHO) \# Making c674:release:edma3_lld_drv 
@@ -87,6 +89,7 @@ edma3_lld_rm: edma3_lld_rm_generic
        $(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
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_rm 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim PROFILE_c6xdsp=debug
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_rm 
@@ -95,10 +98,12 @@ edma3_lld_rm: edma3_lld_rm_generic
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm PROFILE_c6xdsp=debug
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_rm 
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=debug
+endif
        $(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
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_rm -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_rm -for big_endian
@@ -107,6 +112,7 @@ edma3_lld_rm: edma3_lld_rm_generic
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_rm -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=debug ENDIAN=big
+endif
        $(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 
@@ -123,6 +129,7 @@ edma3_lld_rm: edma3_lld_rm_generic
        $(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
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:release:edma3_lld_rm 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim PROFILE_c6xdsp=release
        $(ECHO) \# Making tci6616-sim:release:edma3_lld_rm 
@@ -131,10 +138,12 @@ edma3_lld_rm: edma3_lld_rm_generic
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm PROFILE_c6xdsp=release
        $(ECHO) \# Making c6678-evm:release:edma3_lld_rm 
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=release
+endif
        $(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
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:release:edma3_lld_rm for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making tci6616-sim:release:edma3_lld_rm for big_endian
@@ -143,6 +152,7 @@ edma3_lld_rm: edma3_lld_rm_generic
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making c6678-evm:release:edma3_lld_rm for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=release ENDIAN=big
+endif
        $(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 
@@ -181,6 +191,7 @@ edma3_lld_rm_generic:
        $(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
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making generic/c66:debug:edma3_lld_rm: -for big_endian
        $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=66 PROFILE_66=debug ENDIAN=big
        $(ECHO) \# Making generic/c66:release:edma3_lld_rm: -for big_endian
@@ -189,6 +200,7 @@ edma3_lld_rm_generic:
        $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=66 PROFILE_66=debug ENDIAN=little
        $(ECHO) \# Making generic/c66:release:edma3_lld_rm 
        $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=66 PROFILE_66=release ENDIAN=little
+endif
        $(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 
@@ -209,6 +221,7 @@ edma3_lld_rm_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making tci6486-evm:debug:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_rm_sample 
@@ -217,10 +230,12 @@ edma3_lld_rm_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+endif
        $(ECHO) \# Making c6472-evm:debug:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making tci6486-evm:debug:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_rm_sample -for big_endian
@@ -229,6 +244,7 @@ edma3_lld_rm_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
+endif
        $(ECHO) \# Making omapl138-evm:debug:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making c6748-evm:debug:edma3_lld_rm_sample 
@@ -245,6 +261,7 @@ edma3_lld_rm_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making tci6486-evm:release:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=release
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_rm_sample 
@@ -253,10 +270,12 @@ edma3_lld_rm_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release
+endif
        $(ECHO) \# Making c6472-evm:release:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making tci6486-evm:release:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_rm_sample -for big_endian
@@ -265,6 +284,7 @@ edma3_lld_rm_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
+endif
        $(ECHO) \# Making omapl138-evm:release:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making c6748-evm:release:edma3_lld_rm_sample 
@@ -293,6 +313,7 @@ edma3_lld_drv_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making tci6486-evm:debug:edma3_lld_drv_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_drv_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug 
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_drv_sample
@@ -301,10 +322,12 @@ edma3_lld_drv_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug 
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_drv_sample
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug 
+endif
        $(ECHO) \# Making c6472-evm:debug:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making tci6486-evm:debug:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_drv_sample -for big_endian
@@ -313,6 +336,7 @@ edma3_lld_drv_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
+endif
        $(ECHO) \# Making omapl138-evm:debug:edma3_lld_drv_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making c6748-evm:debug:edma3_lld_drv_sample 
@@ -329,6 +353,7 @@ edma3_lld_drv_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making tci6486-evm:release:edma3_lld_drv_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=release
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:release:edma3_lld_drv_sample
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release 
        $(ECHO) \# Making tci6616-sim:release:edma3_lld_drv_sample 
@@ -337,10 +362,12 @@ edma3_lld_drv_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release 
        $(ECHO) \# Making c6678-evm:release:edma3_lld_drv_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release 
+endif
        $(ECHO) \# Making c6472-evm:release:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6472-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making tci6486-evm:release:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6486-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:release:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making tci6616-sim:release:edma3_lld_drv_sample -for big_endian
@@ -349,6 +376,7 @@ edma3_lld_drv_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making c6678-evm:release:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
+endif
        $(ECHO) \# Making omapl138-evm:release:edma3_lld_drv_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making c6748-evm:release:edma3_lld_drv_sample 
@@ -477,6 +505,7 @@ edma3_drv_ti816x_sim_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti816x-sim CORE=c6xdsp PROFILE_c6xdsp=release
  
 edma3_drv_tci6608_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making example $@:debug
@@ -485,8 +514,10 @@ edma3_drv_tci6608_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6608-sim PROFILE_c6xdsp=release
+endif
  
 edma3_drv_tci6608be_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making example $@:debug
@@ -495,8 +526,10 @@ edma3_drv_tci6608be_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6608-sim PROFILE_c6xdsp=release ENDIAN=big
+endif
 
 edma3_drv_tci6616_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6616-sim CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making example $@:debug
@@ -505,8 +538,10 @@ edma3_drv_tci6616_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6616-sim CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6616-sim PROFILE_c6xdsp=release
+endif
  
 edma3_drv_tci6616be_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6616-sim CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making example $@:debug
@@ -515,8 +550,10 @@ edma3_drv_tci6616be_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6616-sim CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6616-sim PROFILE_c6xdsp=release ENDIAN=big
+endif
 
 edma3_drv_c6670_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making example $@:debug
@@ -525,8 +562,10 @@ edma3_drv_c6670_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6670-evm PROFILE_c6xdsp=release
+endif
 
 edma3_drv_c6670be_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making example $@:debug
@@ -535,9 +574,11 @@ edma3_drv_c6670be_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6670-evm PROFILE_c6xdsp=release ENDIAN=big
+endif
  
 
 edma3_drv_c6678_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making example $@:debug
@@ -546,8 +587,10 @@ edma3_drv_c6678_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=release
+endif
  
 edma3_drv_c6678be_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making example $@:debug
@@ -556,6 +599,7 @@ edma3_drv_c6678be_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=release ENDIAN=big
+endif
  
 
 edma3_drv_arm_omapl138_sample:
index 2ba539ff4151c68ea419a8b3852e76e006436101..e46c776af0a72dbcfd8d118b3fc966aaacb406c9 100644 (file)
@@ -51,6 +51,7 @@ cleanall: $(CLEANALL_TARGETS) $(CLEANALL_EXAMPLES)
 #
 
 edma3_lld_drv:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making c66:debug:edma3_lld_drv
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=debug
        $(ECHO) \# Making c66:release:edma3_lld_drv
@@ -59,8 +60,10 @@ edma3_lld_drv:
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making c66:release:edma3_lld_drv -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=release ENDIAN=big
+endif
 
 edma3_lld_rm: edma3_lld_rm_generic
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_rm 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim PROFILE_c6xdsp=debug
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_rm 
@@ -77,6 +80,7 @@ edma3_lld_rm: edma3_lld_rm_generic
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_rm -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=debug ENDIAN=big
+
        $(ECHO) \# Making tci6608-sim:release:edma3_lld_rm 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim PROFILE_c6xdsp=release
        $(ECHO) \# Making tci6616-sim:release:edma3_lld_rm 
@@ -85,6 +89,7 @@ edma3_lld_rm: edma3_lld_rm_generic
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm PROFILE_c6xdsp=release
        $(ECHO) \# Making c6678-evm:release:edma3_lld_rm 
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=release
+
        $(ECHO) \# Making tci6608-sim:release:edma3_lld_rm for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making tci6616-sim:release:edma3_lld_rm for big_endian
@@ -93,10 +98,11 @@ edma3_lld_rm: edma3_lld_rm_generic
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making c6678-evm:release:edma3_lld_rm for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=release ENDIAN=big
-
+endif
 
 # Generic platform
 edma3_lld_rm_generic:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making generic/c66:debug:edma3_lld_rm: -for big_endian
        $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=66 PROFILE_66=debug ENDIAN=big
        $(ECHO) \# Making generic/c66:release:edma3_lld_rm: -for big_endian
@@ -105,8 +111,10 @@ edma3_lld_rm_generic:
        $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=66 PROFILE_66=debug ENDIAN=little
        $(ECHO) \# Making generic/c66:release:edma3_lld_rm 
        $(MAKE) -C $($(subst _generic,,$@)_PATH) PLATFORM=generic CORE=66 PROFILE_66=release ENDIAN=little
+endif
  
 edma3_lld_rm_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_rm_sample 
@@ -115,6 +123,7 @@ edma3_lld_rm_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_rm_sample -for big_endian
@@ -123,6 +132,7 @@ edma3_lld_rm_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
+
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_rm_sample 
@@ -131,6 +141,7 @@ edma3_lld_rm_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release
+
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_rm_sample -for big_endian
@@ -139,8 +150,10 @@ edma3_lld_rm_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_rm_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
+endif
 
 edma3_lld_drv_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_drv_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug 
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_drv_sample
@@ -149,6 +162,7 @@ edma3_lld_drv_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug 
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_drv_sample
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug 
+
        $(ECHO) \# Making tci6608-sim:debug:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making tci6616-sim:debug:edma3_lld_drv_sample -for big_endian
@@ -157,6 +171,7 @@ edma3_lld_drv_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making c6678-evm:debug:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
+
        $(ECHO) \# Making tci6608-sim:release:edma3_lld_drv_sample
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release 
        $(ECHO) \# Making tci6616-sim:release:edma3_lld_drv_sample 
@@ -165,6 +180,7 @@ edma3_lld_drv_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release 
        $(ECHO) \# Making c6678-evm:release:edma3_lld_drv_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release 
+
        $(ECHO) \# Making tci6608-sim:release:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making tci6616-sim:release:edma3_lld_drv_sample -for big_endian
@@ -173,6 +189,7 @@ edma3_lld_drv_sample:
        $(MAKE) -C $($@_PATH) PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making c6678-evm:release:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $($@_PATH) PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
+endif
 
 #
 # Rule to build all examples
@@ -180,6 +197,7 @@ edma3_lld_drv_sample:
 
  
 edma3_drv_tci6608_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making example $@:debug
@@ -188,8 +206,10 @@ edma3_drv_tci6608_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6608-sim PROFILE_c6xdsp=release
+endif
  
 edma3_drv_tci6608be_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making example $@:debug
@@ -198,8 +218,10 @@ edma3_drv_tci6608be_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6608-sim CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6608-sim PROFILE_c6xdsp=release ENDIAN=big
+endif
 
 edma3_drv_tci6616_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6616-sim CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making example $@:debug
@@ -208,8 +230,10 @@ edma3_drv_tci6616_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6616-sim CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6616-sim PROFILE_c6xdsp=release
+endif
  
 edma3_drv_tci6616be_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6616-sim CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making example $@:debug
@@ -218,8 +242,10 @@ edma3_drv_tci6616be_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6616-sim CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6616-sim PROFILE_c6xdsp=release ENDIAN=big
+endif
 
 edma3_drv_c6670_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making example $@:debug
@@ -228,8 +254,10 @@ edma3_drv_c6670_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6670-evm PROFILE_c6xdsp=release
+endif
 
 edma3_drv_c6670be_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making example $@:debug
@@ -238,9 +266,11 @@ edma3_drv_c6670be_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6670-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6670-evm PROFILE_c6xdsp=release ENDIAN=big
+endif
  
 
 edma3_drv_c6678_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making example $@:debug
@@ -249,8 +279,10 @@ edma3_drv_c6678_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=release
+endif
  
 edma3_drv_c6678be_sample:
+ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Making example $@:debug
@@ -259,6 +291,7 @@ edma3_drv_c6678be_sample:
        $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c6678-evm CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c6678-evm PROFILE_c6xdsp=release ENDIAN=big
+endif
  
 
 # Clean targets