makefile: correct spacing to tabs, added K2K sample lib support DEV_EDMA3_LLD_02_12_01_23A
authorIvan Pang <i-pang@ti.com>
Thu, 10 Mar 2016 15:44:21 +0000 (09:44 -0600)
committerIvan Pang <i-pang@ti.com>
Thu, 10 Mar 2016 15:44:21 +0000 (09:44 -0600)
Signed-off-by: Ivan Pang <i-pang@ti.com>
packages/makefile
packages/ti/sdo/edma3/drv/sample/makefile
packages/ti/sdo/edma3/drv/sample/src/sample_arm_cs.c
packages/ti/sdo/edma3/rm/sample/makefile

index 5fc971ff1bd523e8f641829d19f1028d4ce9f7ce..6b33c43766be87eb9ba9de36bda16211497fa885 100755 (executable)
@@ -2657,24 +2657,24 @@ 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
+       $(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
+       $(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
+       $(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
+       $(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
 
@@ -2682,34 +2682,34 @@ endif
 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
+       $(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
+       $(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
 
index f186bcdb16e515a2b8a16932d8b7612c9a8913f0..ca81634faca002f925e0048f2324720bc73834de 100755 (executable)
@@ -53,6 +53,7 @@ CFLAGS_LOCAL_tda2xx = -DBUILD_TDA2XX_DSP
 SRCS_tda3xx = sample_tda3xx_cfg.c sample_tda3xx_int_reg.c
 CFLAGS_LOCAL_tda3xx = -DBUILD_TDA3XX_DSP
 CFLAGS_LOCAL_tci6636k2h-evm = -DBUILD_K2H_DSP
+CFLAGS_LOCAL_tci6638k2k-evm = -DBUILD_K2K_DSP
 CFLAGS_LOCAL_c66ak2e-evm = -DBUILD_K2E_DSP
 CFLAGS_LOCAL_tci6630k2l-evm = -DBUILD_K2L_DSP
 CFLAGS_LOCAL_tci66ak2g02-evm = -DBUILD_K2G_DSP
@@ -108,6 +109,7 @@ endif
 ifeq ($(CORE),a15host)
 CFLAGS_LOCAL_tda2xx = -DBUILD_TDA2XX_MPU
 CFLAGS_LOCAL_tci6636k2h-evm =  -DBUILD_K2H_MPU
+CFLAGS_LOCAL_tci6638k2k-evm =  -DBUILD_K2K_MPU
 CFLAGS_LOCAL_c66ak2e-evm =  -DBUILD_K2E_MPU
 CFLAGS_LOCAL_tci6630k2l-evm =  -DBUILD_K2L_MPU
 CFLAGS_LOCAL_tci66ak2g02-evm =  -DBUILD_K2G_MPU
index adf70685dbb121bb6d5b28d575e300d75ddf859c..7348ac5a08246fb7b10c913bfbc39ee97c0159dc 100755 (executable)
@@ -39,7 +39,7 @@
  *
 */
 #ifdef GCC_BUILD
-#if (defined(BUILD_TDA2XX_MPU) || defined(BUILD_DRA72X_MPU) || defined(BUILD_AM572X_MPU) || defined(BUILD_AM571X_MPU) || defined(BUILD_K2H_MPU) || defined(BUILD_K2E_MPU) || defined(BUILD_K2L_MPU) || defined(BUILD_K2G_MPU))
+#if (defined(BUILD_TDA2XX_MPU) || defined(BUILD_DRA72X_MPU) || defined(BUILD_AM572X_MPU) || defined(BUILD_AM571X_MPU) || defined(BUILD_K2H_MPU) || defined(BUILD_K2K_MPU) || defined(BUILD_K2E_MPU) || defined(BUILD_K2L_MPU) || defined(BUILD_K2G_MPU))
 #include <ti/sysbios/family/arm/a15/Cache.h>
 #elif (defined (BUILD_CENTAURUS_A8) || defined (BUILD_AM335X_A8))
 #include <ti/sysbios/family/arm/a8/Cache.h>
index 47fa8072e8adae5fd52424f655204c55141176e9..7d061085aed5cecd70afebd7e7618fc7e1f34a2d 100755 (executable)
@@ -47,6 +47,7 @@ SRCS_ti816x-sim = sample_ti816x_cfg.c sample_ti816x_int_reg.c
 CFLAGS_LOCAL_c6a811x-evm = -DBUILD_C6A811X_DSP
 SRCS_c6a811x-evm = sample_c6a811x_cfg.c sample_c6a811x_int_reg.c
 CFLAGS_LOCAL_tci6636k2h-evm = -DBUILD_K2H_DSP
+CFLAGS_LOCAL_tci6638k2k-evm = -DBUILD_K2K_DSP
 CFLAGS_LOCAL_c66ak2e-evm = -DBUILD_K2E_DSP
 CFLAGS_LOCAL_tci6630k2l-evm = -DBUILD_K2L_DSP
 CFLAGS_LOCAL_tci66ak2g02-evm = -DBUILD_K2G_DSP
@@ -86,6 +87,7 @@ endif
 ifeq ($(CORE),a15host)
 CFLAGS_LOCAL_tda2xx = -DBUILD_TDA2XX_MPU
 CFLAGS_LOCAL_tci6636k2h-evm =  -DBUILD_K2H_MPU
+CFLAGS_LOCAL_tci6638k2k-evm =  -DBUILD_K2K_MPU
 CFLAGS_LOCAL_c66ak2e-evm =  -DBUILD_K2E_MPU
 CFLAGS_LOCAL_tci6630k2l-evm =  -DBUILD_K2L_MPU
 CFLAGS_LOCAL_tci66ak2g02-evm =  -DBUILD_K2G_MPU