Merged from master, added a15 support for k2l, c66ak2e
[keystone-rtos/edma3_lld.git] / packages / makefile
index 2f198fa9887971ab16a9d1b3833580a9261a9b65..2a9da4c79c6c3dae97ffe6e6dfe76c90b945191c 100755 (executable)
@@ -222,6 +222,61 @@ edma3_lld_tda2xx-evm_a15_libs_rmsample_clean:
        $(ECHO) \# Cleaning tda2xx-evm:rel:edma3_lld_rm_sample
        $(MAKE) -C $(edma3_lld_rm_sample_PATH) clean PLATFORM=tda2xx-evm CORE=a15host PROFILE_a15host=release
 
+#=======================================================================================================================================
+#To Build libs For Platform tda2xx-evm Target EVE
+edma3_lld_tda2xx-evm_eve_libs: edma3_lld_tda2xx-evm_eve_libs_drv edma3_lld_tda2xx-evm_eve_libs_rm edma3_lld_tda2xx-evm_eve_libs_drvsample edma3_lld_tda2xx-evm_eve_libs_rmsample
+edma3_lld_tda2xx-evm_eve_libs_drv:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making eve:debug:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=debug
+       $(ECHO) \# Making eve:release:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=release
+endif
+edma3_lld_tda2xx-evm_eve_libs_rm:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making tda2xx-evm:debug:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=debug
+       $(ECHO) \# Making tda2xx-evm:rel:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=release
+endif
+edma3_lld_tda2xx-evm_eve_libs_drvsample:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making tda2xx-evm:debug:edma3_lld_drv_sample
+       $(MAKE) -C $(edma3_lld_drv_sample_PATH) PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=debug
+       $(ECHO) \# Making tda2xx-evm:rel:edma3_lld_drv_sample
+       $(MAKE) -C $(edma3_lld_drv_sample_PATH) PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=release
+endif
+edma3_lld_tda2xx-evm_eve_libs_rmsample:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making tda2xx-evm:debug:edma3_lld_rm_sample
+       $(MAKE) -C $(edma3_lld_rm_sample_PATH) PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=debug
+       $(ECHO) \# Making tda2xx-evm:rel:edma3_lld_rm_sample
+       $(MAKE) -C $(edma3_lld_rm_sample_PATH) PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=release
+endif
+
+#To Clean libs For Platform tda2xx-evm Target eve
+edma3_lld_tda2xx-evm_eve_libs_clean: edma3_lld_tda2xx-evm_eve_libs_drv_clean edma3_lld_tda2xx-evm_eve_libs_rm_clean edma3_lld_tda2xx-evm_eve_libs_drvsample_clean edma3_lld_tda2xx-evm_eve_libs_rmsample_clean
+edma3_lld_tda2xx-evm_eve_libs_drv_clean:
+       $(ECHO) \# Cleaning eve:debug:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=debug
+       $(ECHO) \# Cleaning eve:release:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=release
+edma3_lld_tda2xx-evm_eve_libs_rm_clean:
+       $(ECHO) \# Cleaning tda2xx-evm:debug:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=debug
+       $(ECHO) \# Cleaning tda2xx-evm:rel:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=release
+edma3_lld_tda2xx-evm_eve_libs_drvsample_clean:
+       $(ECHO) \# Cleaning tda2xx-evm:debug:edma3_lld_drv_sample
+       $(MAKE) -C $(edma3_lld_drv_sample_PATH) clean PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=debug
+       $(ECHO) \# Cleaning tda2xx-evm:rel:edma3_lld_drv_sample
+       $(MAKE) -C $(edma3_lld_drv_sample_PATH) clean PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=release
+edma3_lld_tda2xx-evm_eve_libs_rmsample_clean:
+       $(ECHO) \# Cleaning tda2xx-evm:debug:edma3_lld_rm_sample
+       $(MAKE) -C $(edma3_lld_rm_sample_PATH) clean PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=debug
+       $(ECHO) \# Cleaning tda2xx-evm:rel:edma3_lld_rm_sample
+       $(MAKE) -C $(edma3_lld_rm_sample_PATH) clean PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=release
+    
 #=======================================================================================================================================
 #To Build libs For Platform ti816x-evm Target 674
 edma3_lld_ti816x-evm_674_libs: edma3_lld_ti816x-evm_674_libs_drv edma3_lld_ti816x-evm_674_libs_rm edma3_lld_ti816x-evm_674_libs_drvsample edma3_lld_ti816x-evm_674_libs_rmsample
@@ -2239,6 +2294,68 @@ edma3_lld_tci6638k2k-sim_66_libs_drvsample_clean:
        $(ECHO) \# Cleaning tci6638k2k-sim:release:edma3_lld_drv_sample -for big_endian
        $(MAKE) -C $(edma3_lld_drv_sample_PATH) clean PLATFORM=tci6638k2k-sim CORE=c6xdsp PROFILE_c6xdsp=release ENDIAN=big
 
+#=======================================================================================================================================
+#To Build libs For Platform tci6630k2l-evm Target a15
+edma3_lld_tci6630k2l-evm_a15_libs: edma3_lld_tci6630k2l-evm_a15_libs_drv edma3_lld_tci6630k2l-evm_a15_libs_rm
+edma3_lld_tci6630k2l-evm_a15_libs_drv:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making a15:debug:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=debug
+       $(ECHO) \# Making a15:release:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=release
+endif
+edma3_lld_tci6630k2l-evm_a15_libs_rm:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making tci6630k2l-evm:debug:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=debug
+       $(ECHO) \# Making tci6630k2l-evm:rel:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=release
+endif
+
+#To Clean libs For Platform tda2xx-evm Target a15
+edma3_lld_tci6630k2l-evm_a15_libs_clean: edma3_lld_tci6630k2l-evm_a15_libs_drv_clean edma3_lld_tci6630k2l-evm_a15_libs_rm_clean
+edma3_lld_tci6630k2l-evm_a15_libs_drv_clean:
+       $(ECHO) \# Cleaning a15:debug:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=debug
+       $(ECHO) \# Cleaning a15:release:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=release
+edma3_lld_tci6630k2l-evm_a15_libs_rm_clean:
+       $(ECHO) \# Cleaning tci6630k2l-evm:debug:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=debug
+       $(ECHO) \# Cleaning tci6630k2l-evm:rel:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=release
+
+#=======================================================================================================================================
+#To Build libs For Platform c66ak2e-evm Target a15
+edma3_lld_c66ak2e-evm_a15_libs: edma3_lld_c66ak2e-evm_a15_libs_drv edma3_lld_c66ak2e-evm_a15_libs_rm
+edma3_lld_c66ak2e-evm_a15_libs_drv:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making a15:debug:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=debug
+       $(ECHO) \# Making a15:release:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=release
+endif
+edma3_lld_c66ak2e-evm_a15_libs_rm:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Making c66ak2e-evm:debug:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=debug
+       $(ECHO) \# Making c66ak2e-evm:rel:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=release
+endif
+
+#To Clean libs For Platform tda2xx-evm Target a15
+edma3_lld_c66ak2e-evm_a15_libs_clean: edma3_lld_c66ak2e-evm_a15_libs_drv_clean edma3_lld_c66ak2e-evm_a15_libs_rm_clean
+edma3_lld_c66ak2e-evm_a15_libs_drv_clean:
+       $(ECHO) \# Cleaning a15:debug:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=debug
+       $(ECHO) \# Cleaning a15:release:edma3_lld_drv
+       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=release
+edma3_lld_c66ak2e-evm_a15_libs_rm_clean:
+       $(ECHO) \# Cleaning c66ak2e-evm:debug:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=debug
+       $(ECHO) \# Cleaning c66ak2e-evm:rel:edma3_lld_rm
+       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=release
+
 #=======================================================================================================================================
 #To Build libs For Platform tci6636k2h-evm Target a15
 edma3_lld_tci6636k2h-evm_a15_libs: edma3_lld_tci6636k2h-evm_a15_libs_drv edma3_lld_tci6636k2h-evm_a15_libs_rm
@@ -2972,6 +3089,32 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tda2xx-evm CORE=a15host PROFILE_a15host=release
 endif
 
+edma3_drv_tci6630k2l-evm_a15_example:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Configuring XDC packages for $@:a15host:debug 
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=debug       
+
+       $(ECHO) \# Configuring XDC packages for $@:a15host:release 
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=release
+endif
+
+edma3_drv_c66ak2e-evm_a15_example:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Configuring XDC packages for $@:a15host:debug 
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=debug  
+
+       $(ECHO) \# Configuring XDC packages for $@:a15host:release 
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=release
+endif
+
 edma3_drv_tci6636k2h-evm_a15_example:
 ifeq ($(FORMAT),ELF)
        $(ECHO) \# Configuring XDC packages for $@:a15host:debug 
@@ -2997,6 +3140,19 @@ ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=release
 endif
+edma3_drv_tda2xx-evm_eve_example:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Configuring XDC packages for $@:eve:debug $($@_EXAMPLES_PATH)
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=debug   
+
+       $(ECHO) \# Configuring XDC packages for $@:eve:release 
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=release
+endif
+
 
 #=======================================================================================================================================
 #
@@ -3122,6 +3278,14 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tda2xx-evm CORE=m4 PROFILE_m4=release
 endif
 
+edma3_drv_tda2xx-evm_eve_example_clean:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tda2xx-evm CORE=eve PROFILE_eve=release
+endif
+
 edma3_drv_ti816x-evm_m3_example_clean:
 ifeq ($(FORMAT),ELF)
        $(ECHO) \# Cleaning example $@:debug
@@ -3308,12 +3472,30 @@ edma3_drv_tci6636k2h-evm_66_be_example_clean:
        $(ECHO) \# Cleaning example $@:release
        $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=tci6636k2h-evm PROFILE_c6xdsp=release ENDIAN=big
 
+edma3_drv_tci6630k2l-evm_a15_example_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=debug clean
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) PLATFORM=tci6630k2l-evm CORE=a15host PROFILE_a15host=release clean
+
+edma3_drv_c66ak2e-evm_a15_example_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=debug clean
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) PLATFORM=c66ak2e-evm CORE=a15host PROFILE_a15host=release clean
+
 edma3_drv_tci6636k2h-evm_a15_example_clean:
        $(ECHO) \# Cleaning example $@:debug
        $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) PLATFORM=tci6636k2h-evm CORE=a15host PROFILE_a15host=debug clean
        $(ECHO) \# Cleaning example $@:release
        $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) PLATFORM=tci6636k2h-evm CORE=a15host PROFILE_a15host=release clean
 
+edma3_drv_tci6638k2k-evm_a15_example_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=debug clean
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=release clean
+
 # Help
 help:
        $(ECHO) EDMA3 LLD Driver Help page