K2K: added sample library create and clean rules
authorIvan Pang <i-pang@ti.com>
Thu, 3 Mar 2016 22:41:44 +0000 (16:41 -0600)
committerIvan Pang <i-pang@ti.com>
Thu, 3 Mar 2016 22:41:44 +0000 (16:41 -0600)
Signed-off-by: Ivan Pang <i-pang@ti.com>
packages/makefile

index d4215f12bdf4eea15b2096587fb0ec7cb9745884..5fc971ff1bd523e8f641829d19f1028d4ce9f7ce 100755 (executable)
@@ -2634,7 +2634,7 @@ endif
 
 #=======================================================================================================================================
 #To Build libs For Platform tci6638k2k-evm Target a15
-edma3_lld_tci6638k2k-evm_a15_libs: edma3_lld_tci6638k2k-evm_a15_libs_drv edma3_lld_tci6638k2k-evm_a15_libs_rm
+edma3_lld_tci6638k2k-evm_a15_libs: edma3_lld_tci6638k2k-evm_a15_libs_drv edma3_lld_tci6638k2k-evm_a15_libs_rm edma3_lld_tci6638k2k-evm_a15_libs_drvsample edma3_lld_tci6638k2k-evm_a15_libs_rmsample
 edma3_lld_tci6638k2k-evm_a15_libs_drv:
 ifneq ($(OS),Windows_NT)
 ifeq ($(FORMAT),ELF)
@@ -2654,21 +2654,63 @@ ifeq ($(FORMAT),ELF)
 endif
 endif
 
+edma3_lld_tci6638k2k-evm_a15_libs_drvsample:
+ifeq ($(FORMAT),ELF)
+ifeq ($(TOOLCHAIN_a15),GCC)
+    $(ECHO) \# Not supported user space a15:debug:edma3_lld_drv_sample
+else
+    $(ECHO) \# Making a15:debug:edma3_lld_drv_sample
+    $(MAKE) -C $(edma3_lld_drv_sample_PATH) PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=debug
+    $(ECHO) \# Making a15:release:edma3_lld_drv_sample
+    $(MAKE) -C $(edma3_lld_drv_sample_PATH) PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=release
+endif
+endif
+
+edma3_lld_tci6638k2k-evm_a15_libs_rmsample:
+ifeq ($(FORMAT),ELF)
+ifeq ($(TOOLCHAIN_a15),GCC)
+    $(ECHO) \# Not supported user space a15:debug:edma3_lld_rm_sample
+else
+    $(ECHO) \# Making a15:debug:edma3_lld_rm_sample
+    $(MAKE) -C $(edma3_lld_rm_sample_PATH) PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=debug
+    $(ECHO) \# Making a15:release:edma3_lld_rm_sample
+    $(MAKE) -C $(edma3_lld_rm_sample_PATH) PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=release
+endif
+endif
+
 #To Clean libs For Platform tci6638k2k-evm Target a15
-edma3_lld_tci6638k2k-evm_a15_libs_clean: edma3_lld_tci6638k2k-evm_a15_libs_drv_clean edma3_lld_tci6638k2k-evm_a15_libs_rm_clean
+edma3_lld_tci6638k2k-evm_a15_libs_clean: edma3_lld_tci6638k2k-evm_a15_libs_drv_clean edma3_lld_tci6638k2k-evm_a15_libs_rm_clean edma3_lld_tci6638k2k-evm_a15_libs_drvsample_clean edma3_lld_tci6638k2k-evm_a15_libs_rmsample_clean
 edma3_lld_tci6638k2k-evm_a15_libs_drv_clean:
 ifneq ($(OS),Windows_NT)
-       $(ECHO) \# Cleaning a15:debug:edma3_lld_drv
-       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=debug
-       $(ECHO) \# Cleaning a15:release:edma3_lld_drv
-       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=release
+    $(ECHO) \# Cleaning a15:debug:edma3_lld_drv
+    $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=debug
+    $(ECHO) \# Cleaning a15:release:edma3_lld_drv
+    $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=release
 endif
 edma3_lld_tci6638k2k-evm_a15_libs_rm_clean:
 ifneq ($(OS),Windows_NT)
-       $(ECHO) \# Cleaning tci6638k2k-evm:debug:edma3_lld_rm
-       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=debug
-       $(ECHO) \# Cleaning tci6638k2k-evm:rel:edma3_lld_rm
-       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=release
+    $(ECHO) \# Cleaning tci6638k2k-evm:debug:edma3_lld_rm
+    $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=debug
+    $(ECHO) \# Cleaning tci6638k2k-evm:rel:edma3_lld_rm
+    $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=release
+endif
+edma3_lld_tci6638k2k-evm_a15_libs_drvsample_clean:
+ifneq ($(OS),Windows_NT)
+ifneq ($(TOOLCHAIN_a15),GCC)
+    $(ECHO) \# Cleaning a15:debug:edma3_lld_drv_sample
+    $(MAKE) -C $(edma3_lld_drv_sample_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=debug
+    $(ECHO) \# Cleaning a15:release:edma3_lld_drv_sample
+    $(MAKE) -C $(edma3_lld_drv_sample_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=release
+endif
+endif
+edma3_lld_tci6638k2k-evm_a15_libs_rmsample_clean:
+ifneq ($(OS),Windows_NT)
+ifneq ($(TOOLCHAIN_a15),GCC)
+    $(ECHO) \# Cleaning a15:debug:edma3_lld_rm_sample
+    $(MAKE) -C $(edma3_lld_rm_sample_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=debug
+    $(ECHO) \# Cleaning a15:release:edma3_lld_rm_sample
+    $(MAKE) -C $(edma3_lld_rm_sample_PATH) clean PLATFORM=tci6638k2k-evm CORE=a15host PROFILE_a15host=release
+endif
 endif
 
 #=======================================================================================================================================