Adding samples DEV_EDMA3_LLD_02_11_02_03_RC04
authorJesse Villarreal <jesse.villarreal@ti.com>
Tue, 24 May 2011 06:25:09 +0000 (11:55 +0530)
committerPrasad Konnur <x0153534@palin02.india.ti.com>
Tue, 24 May 2011 06:25:09 +0000 (11:55 +0530)
packages/component.mk
packages/makefile

index eebd3a9a0dfb6112cf814e0bfbaf93579a30f7ec..35dc338ed99fabceefec6c0fb7555f4f63e1ed96 100755 (executable)
@@ -47,7 +47,7 @@ edma3_lld_EXAMPLES_LIST = edma3_drv_arm_ti816x_sample edma3_drv_c6472_sample edm
                           edma3_drv_tci6616_sample edma3_drv_tci6616be_sample  \
                           edma3_drv_c6670_sample edma3_drv_c6670be_sample  \
                           edma3_drv_c6678_sample edma3_drv_c6678be_sample  \
-#                          edma3_drv_arm_omapl138_sample 
+#                          edma3_drv_arm_omapl138_sample edma3_drv_omap4_sample
 
 # List of libraries
 edma3_lld_LIBS_ALL = edma3_lld_rm edma3_lld_drv edma3_lld_rm_sample edma3_lld_drv_sample
@@ -96,6 +96,9 @@ edma3_drv_da830_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_da830_sampl
 edma3_drv_omapl138_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmOMAPL138
 edma3_drv_omapl138_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_omapl138_sample_EXAMPLES_RELPATH)
 
+edma3_drv_omap4_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmOMAP4
+edma3_drv_omap4_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_omap4_sample_EXAMPLES_RELPATH)
+
 edma3_drv_arm_omapl138_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmOMAPL138_ARM
 edma3_drv_arm_omapl138_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_arm_omapl138_sample_EXAMPLES_RELPATH)
 
index 4a76d144b6d674fe145d73fa89641ed53043afdb..a20e4d28088c36a241fafd9ac2cecf8828d9c5c2 100755 (executable)
@@ -510,6 +510,16 @@ edma3_drv_omapl138_sample:
        $(ECHO) \# Making example $@:release
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=omapl138-evm CORE=c6xdsp PROFILE_c6xdsp=release
 
+edma3_drv_omap4_sample:
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=omap4-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=omap4-evm CORE=c6xdsp PROFILE_c6xdsp=debug
+       $(ECHO) \# Configuring XDC packages for $@:c6xdsp:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=omap4-evm CORE=c6xdsp PROFILE_c6xdsp=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=omap4-evm CORE=c6xdsp 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
@@ -1161,6 +1171,12 @@ ifeq ($(FORMAT),ELF)
        $(ECHO) \# Cleaning example $@:release
        $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
 endif
+
+edma3_drv_omap4_sample_clean:
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=omap4-evm PROFILE_c6xdsp=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=omap4-evm PROFILE_c6xdsp=release
   
 edma3_drv_tci6486_sample_clean:
        $(ECHO) \# Cleaning example $@:debug