makefile related changes for support of M3
authorU-ENT\x0153534 <x0153534@BD-HWAPPSPC07.india.ti.com>
Wed, 6 Apr 2011 14:02:07 +0000 (19:32 +0530)
committerPrasad Konnur <x0153534@palin02.india.ti.com>
Mon, 16 May 2011 13:16:29 +0000 (18:46 +0530)
makerules/common.mk
makerules/env.mk
makerules/platform.mk
makerules/rules_m3.mk
packages/component.mk
packages/config.bld
packages/makefile
packages/ti/sdo/edma3/drv/sample/makefile
packages/ti/sdo/edma3/rm/sample/makefile

index 33641c08317f72066c7d9b9d2616fef14debecc8..73fdaaa7443c141a6663bd1943654877b90365f6 100755 (executable)
@@ -159,7 +159,7 @@ endif
 # XDC Specific defines
 ifneq ($(XDC_CFG_FILE_$(CORE)),)
   ifeq ($(PROFILE_$(CORE)),debug)
-    CFG_CFILENAMEPART_XDC =$(EXEEXT)
+    CFG_CFILENAMEPART_XDC =p$(FORMAT_EXT)$(ISA)$(ENDIAN_EXT)
   endif
   ifeq ($(PROFILE_$(CORE)),whole_program_debug)
     CFG_CFILENAMEPART_XDC =p$(FORMAT_EXT)$(ISA)$(ENDIAN_EXT)
index 07c1ceff7f511944bb072faeedd9857fe72b661b..d786f35e843632677b368cc50397d7b7d06a9fa1 100755 (executable)
@@ -91,6 +91,7 @@ CONFIG_BLD_XDC_64p = $(edma3_lld_PATH)/packages/_config.bld
 CONFIG_BLD_XDC_a8 = $(edma3_lld_PATH)/packages/_config.bld
 CONFIG_BLD_XDC_arm9 = $(edma3_lld_PATH)/packages/_config.bld
 CONFIG_BLD_XDC_66 = $(edma3_lld_PATH)/packages/_config.bld
+CONFIG_BLD_XDC_m3 = $(edma3_lld_PATH)/packages/_config.bld
 
 XDCPATH = $(bios_PATH)/packages;$(xdc_PATH)/packages;$(edma3_lld_PATH)/packages;
 export XDCPATH
index a98e711cc906f13e30f388dae74160012ff3c2f7..7e2f53857d5dfa835d7c0732accc40d736ebfb92 100755 (executable)
@@ -168,9 +168,9 @@ ifeq ($(ISA),m3)
     TARGET_XDC = ti.targets.arm.M3
   endif
   ifeq ($(CORE),m3video)
-    PLATFORM_XDC = "ti.platforms.generic:DucatiPlatform_Core0"
+    PLATFORM_XDC = "ti.platforms.evmDM8168"
   else
-    PLATFORM_XDC = "ti.platforms.generic:DucatiPlatform_Core1"
+    PLATFORM_XDC = "ti.platforms.evmDM8168"
   endif
   
   # If ENDIAN is set to "big", set ENDIAN_EXT to "e", that would be used in
index 16649b3a8a3591d436127f454e693c0c74470dda..f0afdaf8c1fca4903d61843142e5d367328361c7 100755 (executable)
@@ -36,6 +36,32 @@ endif
 CFLAGS_INTERNAL = -c -qq -pdsw225 --endian=$(ENDIAN) -mv7M3 --abi=$(CSWITCH_FORMAT) -eo.$(OBJEXT) -ea.$(ASMEXT) --symdebug:dwarf 
 CFLAGS_DIROPTS = -fr=$(OBJDIR) -fs=$(OBJDIR)
 
+# XDC Specific defines
+ifneq ($(XDC_CFG_FILE_$(CORE)),)
+  ifeq ($(PROFILE_$(CORE)),debug)
+    CFG_CFILENAMEPART_XDC =p$(FORMAT_EXT)$(ISA)
+  endif
+  ifeq ($(PROFILE_$(CORE)),release)
+    CFG_CFILENAMEPART_XDC =p$(FORMAT_EXT)$(ISA)
+  endif
+  ifeq ($(PROFILE_$(CORE)),whole_program_debug)
+    CFG_CFILENAMEPART_XDC =p$(FORMAT_EXT)$(ISA)$(ENDIAN_EXT)
+#    CFG_LNKFILENAMEPART_XDC=_x
+       CFG_LNKFILENAMEPART_XDC=
+  endif
+  CFG_CFILE_XDC =$(patsubst %.cfg,%_$(CFG_CFILENAMEPART_XDC).c,$(notdir $(XDC_CFG_FILE_$(CORE))))
+  CFG_C_XDC = $(addprefix $(CONFIGURO_DIR)/package/cfg/,$(CFG_CFILE_XDC))
+  XDCLNKCMD_FILE =$(patsubst %.c, %$(CFG_LNKFILENAMEPART_XDC)_x.xdl, $(CFG_C_XDC))
+  CFG_COBJ_XDC = $(patsubst %.c,%.$(OBJEXT),$(CFG_CFILE_XDC))
+#  OBJ_PATHS += $(CFG_COBJ_XDC)
+  LNKCMD_FILE = $(CONFIGURO_DIR)/linker_mod.cmd
+  SPACE := 
+  SPACE += 
+  XDC_GREP_STRING = $(CONFIGURO_DIRNAME)
+#  XDC_GREP_STRING = $(subst $(SPACE),\|,$(COMP_LIST_$(CORE)))
+#  XDC_GREP_STRING += \|$(CONFIGURO_DIRNAME)
+endif
+
 # CFLAGS based on profile selected
 ifeq ($(PROFILE_$(CORE)), debug)
  CFLAGS_XDCINTERNAL = -Dxdc_target_name__=M3 -Dxdc_target_types__=ti/targets/arm/elf/std.h -Dxdc_bld__profile_debug -Dxdc_bld__vers_1_0_4_6_1 -D_DEBUG_=1 
@@ -47,10 +73,11 @@ endif
 ifeq ($(PROFILE_$(CORE)), whole_program_debug)
  CFLAGS_XDCINTERNAL = -Dxdc_target_name__=M3 -Dxdc_target_types__=ti/targets/arm/elf/std.h -Dxdc_bld__profile_whole_program_debug -Dxdc_bld__vers_1_0_4_6_1 -ms -oe 
  ifndef MODULE_NAME
-  CFLAGS_XDCINTERNAL += -Dxdc_cfg__header__='$(CONFIGURO_DIR)/package/cfg/$(XDC_CFG_BASE_FILE_NAME)_pem3.h' 
+  CFLAGS_XDCINTERNAL += -Dxdc_cfg__header__='$(CONFIGURO_DIR)/package/cfg/$(XDC_CFG_BASE_FILE_NAME)_xem3.h' 
  endif
- LNKFLAGS_INTERNAL_PROFILE = --opt='--endian=$(ENDIAN) -mv7M3 --abi=$(CSWITCH_FORMAT) -qq -pdsw225 $(CFLAGS_GLOBAL_$(CORE)) -oe --symdebug:dwarf -ms -op2 -O3 -k -os --optimize_with_debug --inline_recursion_limit=20' --strict_compatibility=on 
-# LNKFLAGS_INTERNAL_PROFILE = 
+# LNKFLAGS_INTERNAL_PROFILE = --opt='--endian=$(ENDIAN) -mv7M3 --abi=$(CSWITCH_FORMAT) -qq -pdsw225 $(CFLAGS_GLOBAL_$(CORE)) -oe --symdebug:dwarf -ms -op2 -O3 -k -os --optimize_with_debug --inline_recursion_limit=20' --strict_compatibility=on 
+ LNKFLAGS_INTERNAL_PROFILE = --strict_compatibility=on 
 endif
 ifeq ($(PROFILE_$(CORE)), release)
  CFLAGS_XDCINTERNAL = -Dxdc_target_name__=M3 -Dxdc_target_types__=ti/targets/arm/elf/std.h -Dxdc_bld__profile_debug -Dxdc_bld__vers_1_0_4_6_1 -O2
@@ -137,8 +164,10 @@ $(BINDIR)/$(APP_NAME)_$(CORE)_$(PROFILE_$(CORE)).$(EXEEXT) : $(OBJ_PATHS) $(LIB_
        $(ECHO) \#
 
 # XDC specific - assemble XDC-Configuro command
+#CONFIGURO_CMD = $(xdc_PATH)/xs xdc.tools.configuro --generationOnly -o $(CONFIGURO_DIR) -t $(TARGET_XDC) -p $(PLATFORM_XDC) \
+#               $(CFGARGS_XDC) -r $(PROFILE_$(CORE)) -b $(CONFIG_BLD_XDC_$(ISA)) $(XDC_CFG_FILE_NAME)
 CONFIGURO_CMD = $(xdc_PATH)/xs xdc.tools.configuro --generationOnly -o $(CONFIGURO_DIR) -t $(TARGET_XDC) -p $(PLATFORM_XDC) \
-               $(CFGARGS_XDC) -r $(PROFILE_$(CORE)) -b $(CONFIG_BLD_XDC_$(ISA)) $(XDC_CFG_FILE_NAME)
+               -r whole_program -c $(CODEGEN_PATH_M3) -b $(CONFIG_BLD_XDC_$(ISA)) $(XDC_CFG_FILE_NAME)                    
 _XDC_GREP_STRING = \"$(XDC_GREP_STRING)\"
 EGREP_CMD = $(EGREP) -ivw $(XDC_GREP_STRING) $(XDCLNKCMD_FILE)
 
index 3290845d0ec8df91c79c9d4c702d6afc38e71879..eebd3a9a0dfb6112cf814e0bfbaf93579a30f7ec 100755 (executable)
@@ -38,7 +38,7 @@
 edma3_lld_COMP_LIST_c6xdsp = edma3_lld_rm edma3_lld_drv
 
 # List of examples under EDMA3 LLD
-edma3_lld_EXAMPLES_LIST = edma3_drv_c6472_sample edma3_drv_c6472be_sample edma3_drv_c6748_sample \
+edma3_lld_EXAMPLES_LIST = edma3_drv_arm_ti816x_sample edma3_drv_c6472_sample edma3_drv_c6472be_sample edma3_drv_c6748_sample \
                           edma3_drv_da830_sample edma3_drv_omapl138_sample \
                           edma3_drv_tci6486_sample edma3_drv_tci6486be_sample edma3_drv_ti816x_sample \
                           edma3_drv_ti816x_sim_sample  \
@@ -114,6 +114,12 @@ edma3_drv_arm_ti814x_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_arm_ti
 edma3_drv_ti816x_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTI816x
 edma3_drv_ti816x_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti816x_sample_EXAMPLES_RELPATH)
 
+edma3_drv_arm_ti816x_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTI816x_ARM
+edma3_drv_arm_ti816x_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_arm_ti816x_sample_EXAMPLES_RELPATH)
+
+edma3_drv_m3_ti814x_sample_EXAMPLES_RELPATH = examples/edma3_driver/evmTI814x_M3
+edma3_drv_m3_ti814x_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_arm_ti814x_sample_EXAMPLES_RELPATH)
+
 edma3_drv_ti816x_sim_sample_EXAMPLES_RELPATH = examples/edma3_driver/simTI816x
 edma3_drv_ti816x_sim_sample_EXAMPLES_PATH = $(edma3_lld_PATH)/$(edma3_drv_ti816x_sim_sample_EXAMPLES_RELPATH)
 
index 6d217d3e726342186406ea48c80398eee3df0d53..eda7e8c59367a2bf99afbd3d10d9e8c6ac3db913 100755 (executable)
@@ -14,6 +14,7 @@ var C66 = xdc.useModule('ti.targets.elf.C66');
 var C66e = xdc.useModule('ti.targets.elf.C66_big_endian');
 var Arm = xdc.useModule('ti.targets.arm.elf.Arm9');
 var cortexA8 = xdc.useModule('ti.targets.arm.elf.A8F');
+var M3 = xdc.useModule('ti.targets.arm.elf.M3');
 
 /* compiler paths for the CCS4.0                   */
 var cgtools = java.lang.System.getenv("CGTOOLS");
@@ -30,6 +31,7 @@ C66.rootDir = cgtools_elf;
 C66e.rootDir = cgtools_elf;
 Arm.rootDir = armcgtools;
 cortexA8.rootDir = armcgtools;
+M3.rootDir = armcgtools;
 
 /**********************************c674******************************/
 
@@ -98,6 +100,10 @@ Arm.platforms = [
 cortexA8.platforms = [
                          "ti.platforms.evmDM8148",
                      ];
+M3.platforms = [
+                     "ti.platforms.evmTI816X:core0",
+                     "ti.platforms.evmTI816X:core1",
+                 ];
 
 /* select the default platform */
 C64P.platform = C64P.platforms[0];
@@ -110,6 +116,7 @@ C66.platform = C66.platforms[0];
 C66e.platform = C66e.platforms[0];
 Arm.platform = Arm.platforms[0];
 cortexA8.platform = cortexA8.platforms[0];
+M3.platform = M3.platforms[1];
 
 /* list interested targets in Build.targets array  */
 Build.targets = [
@@ -125,5 +132,6 @@ Build.targets = [
                     C66e,
                     Arm,
                     cortexA8,
+                    M3,
                   //Win32,
                 ];
index 3718f2dba945a4d5611e36613187a109b52cdc8b..a38f87fc33e978925c9499a1511b521ceff3ebb1 100755 (executable)
@@ -42,6 +42,8 @@ libs: $(edma3_lld_LIBS_ALL)
 
 examples: $(edma3_lld_EXAMPLES_LIST)
 
+ti816xarm : $(ti816xarm_EXAMPLES)
+
 clean: $(CLEANALL_TARGETS)
 
 cleanall: $(CLEANALL_TARGETS) $(CLEANALL_EXAMPLES)
@@ -82,6 +84,14 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
        $(ECHO) \# Making arm9:release:edma3_lld_drv 
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+       $(ECHO) \# Making m3:debug:edma3_lld_drv 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=debug
+       $(ECHO) \# Making m3:release:edma3_lld_drv 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=release
+       $(ECHO) \# Making m3:debug:edma3_lld_drv 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=debug
+       $(ECHO) \# Making m3:release:edma3_lld_drv 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=release  
 endif
 
 edma3_lld_rm: edma3_lld_rm_generic
@@ -174,6 +184,14 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
        $(ECHO) \# Making omapl138-evm:rel:edma3_lld_rm 
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+       $(ECHO) \# Making ti814x-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=debug
+       $(ECHO) \# Making ti814x-evm:rel:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=release
+       $(ECHO) \# Making ti814x-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=debug
+       $(ECHO) \# Making ti814x-evm:rel:edma3_lld_rm 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=release
 endif
  
 # Generic platform
@@ -306,6 +324,14 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
        $(ECHO) \# Making omapl138-evm:rel:edma3_lld_rm_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+       $(ECHO) \# Making ti816x-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=debug
+       $(ECHO) \# Making ti816x-evm:rel:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=release  
+       $(ECHO) \# Making ti816x-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=debug
+       $(ECHO) \# Making ti816x-evm:rel:edma3_lld_rm_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=release
 endif
 
 edma3_lld_drv_sample:
@@ -398,6 +424,15 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
        $(ECHO) \# Making omapl138-evm:rel:edma3_lld_drv_sample 
        $(MAKE) -C $($@_PATH) PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+       $(ECHO) \# Making ti816x-evm:debug:edma3_lld_drv_sample
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=debug
+       $(ECHO) \# Making ti816x-evm:rel:edma3_lld_drv_sample   
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=release
+       $(ECHO) \# Making ti816x-evm:rel:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=release
+       $(ECHO) \# Making ti816x-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($@_PATH) PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=debug
+
 endif
 
 #
@@ -626,6 +661,29 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
 endif
 
+edma3_drv_arm_ti816x_sample:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Configuring XDC packages for $@:m3:debug 
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=debug   
+
+       $(ECHO) \# Configuring XDC packages for $@:m3:release 
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=release
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=release
+       
+       $(ECHO) \# Configuring XDC packages for $@:m3:debug 
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=debug
+       $(ECHO) \# Making example $@:debug
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=debug
+
+       $(ECHO) \# Configuring XDC packages for $@:m3:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) xdc_configuro PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=release     
+       $(ECHO) \# Making example $@:release
+       $(MAKE) -C $($@_EXAMPLES_PATH) PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=release
+endif
+
 # Clean targets
 
 edma3_lld_drv_clean:
@@ -683,6 +741,14 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
        $(ECHO) \# Cleaning arm9:release:edma3_lld_drv 
        $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+       $(ECHO) \# Cleaning m3:debug:edma3_lld_drv 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=debug
+       $(ECHO) \# Cleaning m3:release:edma3_lld_drv 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=release
+       $(ECHO) \# Cleaning m3:debug:edma3_lld_drv 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=debug
+       $(ECHO) \# Cleaning m3:release:edma3_lld_drv 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=release
 endif
 
 edma3_lld_rm_clean: edma3_lld_rm_generic_clean
@@ -770,44 +836,52 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
        $(ECHO) \# Cleaning omapl138-evm:rel:edma3_lld_rm 
        $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+       $(ECHO) \# Cleaning ti816x-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=debug
+       $(ECHO) \# Cleaning ti816x-evm:rel:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=release
+       $(ECHO) \# Cleaning ti816x-evm:debug:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=debug
+       $(ECHO) \# Cleaning ti816x-evm:rel:edma3_lld_rm 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=release
 endif
 
 # Generic platform
 edma3_lld_rm_generic_clean:
 
        $(ECHO) \# Cleaning generic/c674:debug:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=674 PROFILE_674=debug
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=674 PROFILE_674=debug
        $(ECHO) \# Cleaning generic/c674:release:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=674 PROFILE_674=release
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=674 PROFILE_674=release
        $(ECHO) \# Cleaning generic/c64p:debug:edma3_lld_rm: -for big_endian
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=debug ENDIAN=big
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=64p PROFILE_64p=debug ENDIAN=big
        $(ECHO) \# Cleaning generic/c64p:release:edma3_lld_rm: -for big_endian
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=release ENDIAN=big
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=64p PROFILE_64p=release ENDIAN=big
        $(ECHO) \# Cleaning generic/c64p:debug:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=debug ENDIAN=little
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=64p PROFILE_64p=debug ENDIAN=little
        $(ECHO) \# Cleaning generic/c64p:release:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=64p PROFILE_64p=release ENDIAN=little
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=64p PROFILE_64p=release ENDIAN=little
        $(ECHO) \# Cleaning generic/c66:debug:edma3_lld_rm: -for big_endian
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=66 PROFILE_66=debug ENDIAN=big
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=66 PROFILE_66=debug ENDIAN=big
        $(ECHO) \# Cleaning generic/c66:release:edma3_lld_rm: -for big_endian
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=66 PROFILE_66=release ENDIAN=big
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=66 PROFILE_66=release ENDIAN=big
        $(ECHO) \# Cleaning generic/c66:debug:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=66 PROFILE_66=debug ENDIAN=little
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=66 PROFILE_66=debug ENDIAN=little
        $(ECHO) \# Cleaning generic/c66:release:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=66 PROFILE_66=release ENDIAN=little
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=66 PROFILE_66=release ENDIAN=little
        $(ECHO) \# Cleaning generic/m3:debug:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=m3 PROFILE_m3=debug
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=m3 PROFILE_m3=debug
        $(ECHO) \# Cleaning generic/m3:release:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=m3 PROFILE_m3=release
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=m3 PROFILE_m3=release
 ifeq ($(FORMAT),ELF)
        $(ECHO) \# Cleaning generic/a8:debug:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=a8 PROFILE_a8host=debug
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=a8 PROFILE_a8=debug
        $(ECHO) \# Cleaning generic/a8:release:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=a8 PROFILE_a8host=release
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=a8 PROFILE_a8=release
        $(ECHO) \# Cleaning generic/arm9:debug:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=arm9 PROFILE_arm9=debug
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=arm9 PROFILE_arm9=debug
        $(ECHO) \# Cleaning generic/arm9:release:edma3_lld_rm 
-       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) PLATFORM=generic CORE=arm9 PROFILE_arm9=release
+       $(MAKE) -C $($(subst _generic_clean,,$@)_PATH) clean PLATFORM=generic CORE=arm9 PROFILE_arm9=release
 endif
    
 edma3_lld_rm_sample_clean:
@@ -893,6 +967,14 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
        $(ECHO) \# Cleaning omapl138-evm:rel:edma3_lld_rm_sample 
        $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+       $(ECHO) \# Cleaning ti816x-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=debug
+       $(ECHO) \# Cleaning ti816x-evm:rel:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=release
+       $(ECHO) \# Cleaning ti816x-evm:debug:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=debug
+       $(ECHO) \# Cleaning ti816x-evm:rel:edma3_lld_rm_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=release
 endif
  
 edma3_lld_drv_sample_clean:
@@ -979,6 +1061,14 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=debug
        $(ECHO) \# Cleaning omapl138-evm:rel:edma3_lld_drv_sample 
        $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=omapl138-evm CORE=arm9 PROFILE_arm9=release
+       $(ECHO) \# Cleaning ti816x-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=debug
+       $(ECHO) \# Cleaning ti816x-evm:rel:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=release
+       $(ECHO) \# Cleaning ti816x-evm:debug:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=debug
+       $(ECHO) \# Cleaning ti816x-evm:rel:edma3_lld_drv_sample 
+       $(MAKE) -C $($(subst _clean,,$@)_PATH) clean PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=release
 endif
 
 #
@@ -1055,6 +1145,18 @@ ifeq ($(FORMAT),ELF)
        $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti814x-evm CORE=a8host PROFILE_a8host=release
 endif
 
+edma3_drv_arm_ti816x_sample_clean:
+ifeq ($(FORMAT),ELF)
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti816x-evm CORE=m3vpss PROFILE_m3vpss=release
+       $(ECHO) \# Cleaning example $@:debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=debug
+       $(ECHO) \# Cleaning example $@:release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti816x-evm CORE=m3video PROFILE_m3video=release
+endif
+
 edma3_drv_ti816x_sim_sample_clean:
        $(ECHO) \# Cleaning example $@:debug
        $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=ti816x-sim PROFILE_c6xdsp=debug
@@ -1087,27 +1189,27 @@ edma3_drv_tci6616be_sample_clean:
 
 edma3_drv_c6670_sample_clean:
        $(ECHO) \# Cleaning example $@:debug
-       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6670-sim PROFILE_c6xdsp=debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6670-evm PROFILE_c6xdsp=debug
        $(ECHO) \# Cleaning example $@:release
-       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6670-sim PROFILE_c6xdsp=release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6670-evm PROFILE_c6xdsp=release
  
 edma3_drv_c6670be_sample_clean:
        $(ECHO) \# Cleaning example $@:debug
-       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6670-sim PROFILE_c6xdsp=debug ENDIAN=big
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6670-evm PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Cleaning example $@:release
-       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6670-sim PROFILE_c6xdsp=release ENDIAN=big
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6670-evm PROFILE_c6xdsp=release ENDIAN=big
 
 edma3_drv_c6678_sample_clean:
        $(ECHO) \# Cleaning example $@:debug
-       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6678-sim PROFILE_c6xdsp=debug
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6678-evm PROFILE_c6xdsp=debug
        $(ECHO) \# Cleaning example $@:release
-       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6678-sim PROFILE_c6xdsp=release
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6678-evm PROFILE_c6xdsp=release
  
 edma3_drv_c6678be_sample_clean:
        $(ECHO) \# Cleaning example $@:debug
-       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6678-sim PROFILE_c6xdsp=debug ENDIAN=big
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6678-evm PROFILE_c6xdsp=debug ENDIAN=big
        $(ECHO) \# Cleaning example $@:release
-       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6678-sim PROFILE_c6xdsp=release ENDIAN=big
+       $(MAKE) -C $($(subst _clean,,$@)_EXAMPLES_PATH) clean  PLATFORM=c6678-evm PROFILE_c6xdsp=release ENDIAN=big
 
       
 # Help
index 456735c0a4503286c9316b813377598cf97b3ca2..ca74bfe56a66bbf28c3624568f102e28be1e9bc5 100755 (executable)
@@ -30,14 +30,23 @@ SRCS_c6670-evm   = sample_c6670_cfg.c sample_c6670_int_reg.c
 SRCS_c6678-evm   = sample_c6678_cfg.c sample_c6678_int_reg.c
 SRCS_omapl138-evm = sample_omapl138_cfg.c sample_omapl138_int_reg.c
 SRCS_ti814x-evm = sample_ti814x_cfg.c sample_ti814x_int_reg.c
+SRCS_ti816x-evm = sample_ti816x_cfg.c sample_ti816x_int_reg.c
+SRCS_ti816x-sim = sample_ti816x_cfg.c sample_ti816x_int_reg.c
 else
 SRCS_omapl138-evm = sample_omapl138_arm_cfg.c sample_omapl138_arm_int_reg.c
 SRCS_ti814x-evm = sample_ti814x_arm_cfg.c sample_ti814x_arm_int_reg.c
 endif
+ifeq ($(CORE),m3video)
+SRCS_ti816x-evm = sample_ti816x_m3video_cfg.c sample_ti816x_m3video_int_reg.c
+SRCS_ti816x-sim = sample_ti816x_m3video_cfg.c sample_ti816x_m3video_int_reg.c
+endif
+ifeq ($(CORE),m3vpss)
+SRCS_ti816x-evm = sample_ti816x_m3vpss_cfg.c sample_ti816x_m3vpss_int_reg.c
+SRCS_ti816x-sim = sample_ti816x_m3vpss_cfg.c sample_ti816x_m3vpss_int_reg.c
+endif
 SRCS_c6748-evm = sample_c6748_cfg.c sample_c6748_int_reg.c
 SRCS_da830-evm = sample_da830_cfg.c sample_da830_int_reg.c
-SRCS_ti816x-evm = sample_ti816x_cfg.c sample_ti816x_int_reg.c
-SRCS_ti816x-sim = sample_ti816x_cfg.c sample_ti816x_int_reg.c
+
 CFLAGS_LOCAL_ti814x-evm = -DCHIP_TI814X
 
 # Include common make files
index d65cc120939a78fc7e8fbff7d4193d80443f3b03..762192bd31a8d30937b09d2a70b4ad047e478781 100755 (executable)
@@ -30,14 +30,22 @@ SRCS_c6670-evm   = sample_c6670_cfg.c sample_c6670_int_reg.c
 SRCS_c6678-evm   = sample_c6678_cfg.c sample_c6678_int_reg.c
 SRCS_omapl138-evm = sample_omapl138_cfg.c sample_omapl138_int_reg.c
 SRCS_ti814x-evm = sample_ti814x_cfg.c sample_ti814x_int_reg.c
+SRCS_ti816x-evm = sample_ti816x_cfg.c sample_ti816x_int_reg.c
+SRCS_ti816x-sim = sample_ti816x_cfg.c sample_ti816x_int_reg.c
 else
 SRCS_omapl138-evm = sample_omapl138_arm_cfg.c sample_omapl138_arm_int_reg.c
 SRCS_ti814x-evm = sample_ti814x_arm_cfg.c sample_ti814x_arm_int_reg.c
 endif
+ifeq ($(CORE),m3video)
+SRCS_ti816x-evm = sample_ti816x_m3video_cfg.c sample_ti816x_m3video_int_reg.c
+SRCS_ti816x-sim = sample_ti816x_m3video_cfg.c sample_ti816x_m3video_int_reg.c
+endif
+ifeq ($(CORE),m3vpss)
+SRCS_ti816x-evm = sample_ti816x_m3vpss_cfg.c sample_ti816x_m3vpss_int_reg.c
+SRCS_ti816x-sim = sample_ti816x_m3vpss_cfg.c sample_ti816x_m3vpss_int_reg.c
+endif
 SRCS_c6748-evm = sample_c6748_cfg.c sample_c6748_int_reg.c
 SRCS_da830-evm = sample_da830_cfg.c sample_da830_int_reg.c
-SRCS_ti816x-evm = sample_ti816x_cfg.c sample_ti816x_int_reg.c
-SRCS_ti816x-sim = sample_ti816x_cfg.c sample_ti816x_int_reg.c
 CFLAGS_LOCAL_ti814x-evm = -DCHIP_TI814X
 
 # Include common make files