PASDK-401:Add No IP build to build scripts
authorFrank Livingston <frank-livingston@ti.com>
Tue, 26 Sep 2017 13:30:32 +0000 (08:30 -0500)
committerFrank Livingston <frank-livingston@ti.com>
Tue, 26 Sep 2017 13:30:32 +0000 (08:30 -0500)
build_all.bat
pasdk/test_arm/.cproject
pasdk/test_dsp/.cproject
scripts/build_ccs_projects.bat

index cf76ae49f3f4533b8f44f30c2fd648e9f69c43d2..864a2fbcfa4d4d438b7131fd306b1c02179ecdbd 100644 (file)
@@ -35,7 +35,7 @@ echo . Usage: %0 ^<buildType^> SuperRepo ^<buildProfile^>
 echo . -OR-
 echo . Usage: %0 ^<buildType^> ^<buildTag^> ^<buildProfile^>
 echo .
-echo .     buildType        : ALL, DH, or DTSX
+echo .     buildType        : DH, DTSX, NOIP, ALLIP, ALL
 echo .     SuperRepo        : Use Git super-repository to track submodules for build targets
 echo .     buildTag         : Use Git tag to track submodules for build targets 
 echo .     buildProfile     : Debug, Release, or SDF
@@ -99,8 +99,9 @@ rem @popd
 :: Build ARM/DSP component libraries
 :build_dh_libs
 set TRUE=
-if "%1"=="ALL" set TRUE=1
 if "%1"=="DH" set TRUE=1
+if "%1"=="ALLIP" set TRUE=1
+if "%1"=="ALL" set TRUE=1
 if defined TRUE (
     rem Build Dolby Harmony component libraries
     @pushd scripts
@@ -122,8 +123,9 @@ if defined TRUE (
 
 :build_dtsx_libs
 set TRUE=
-if "%1"=="ALL" set TRUE=1
 if "%1"=="DTSX" set TRUE=1
+if "%1"=="ALLIP" set TRUE=1
+if "%1"=="ALL" set TRUE=1
 if defined TRUE (
     rem Build DTS:X component libraries
     @pushd scripts
index 3a460986d00bda873a884c810c1c3c4024f1d759..ad5bf36f4678d2fc17e3cf9b8161cfb535b9b317 100644 (file)
                        <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
                </cconfiguration>
                <cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1859149112.1675401342">
-                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1859149112.1675401342" moduleId="org.eclipse.cdt.core.settings" name="No_IP">
+                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1859149112.1675401342" moduleId="org.eclipse.cdt.core.settings" name="Debug_NoIP">
                                <macros>
                                        <stringMacro name="NIMU_INSTAL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="ICSS_EMAC_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                </extensions>
                        </storageModule>
                        <storageModule moduleId="cdtBuildSystem" version="4.0.0">
-                               <configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="No IP build" errorParsers="org.eclipse.rtsc.xdctools.parsers.ErrorParser;org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1859149112.1675401342" name="No_IP" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug" postbuildStep="" prebuildStep="">
+                               <configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="No IP build" errorParsers="org.eclipse.rtsc.xdctools.parsers.ErrorParser;org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1859149112.1675401342" name="Debug_NoIP" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug" postbuildStep="" prebuildStep="">
                                        <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1859149112.1675401342." name="/" resourcePath="">
                                                <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_4.0.exe.DebugToolchain.1491645260" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_4.0.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_GNU_4.0.exe.linkerDebug.1514981469">
                                                        <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.993404352" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
index 5e7ccc8926a4b088b40eac4b9643ea15552944ae..a48e8de4f100e04ef1388ff3f4a54b88111bc0b0 100644 (file)
                        <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
                </cconfiguration>
                <cconfiguration id="com.ti.ccstudio.buildDefinitions.C6000.Debug.2083839127.1982471180">
-                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.2083839127.1982471180" moduleId="org.eclipse.cdt.core.settings" name="No_IP">
+                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.2083839127.1982471180" moduleId="org.eclipse.cdt.core.settings" name="Debug_NoIP">
                                <macros>
                                        <stringMacro name="NIMU_INSTAL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                        <stringMacro name="ICSS_EMAC_INSTALL_PATH" type="VALUE_PATH_DIR" value="C:/ti"/>
                                </extensions>
                        </storageModule>
                        <storageModule moduleId="cdtBuildSystem" version="4.0.0">
-                               <configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="No IP build" errorParsers="org.eclipse.rtsc.xdctools.parsers.ErrorParser;com.ti.ccstudio.errorparser.CoffErrorParser;com.ti.ccstudio.errorparser.LinkErrorParser;com.ti.ccstudio.errorparser.AsmErrorParser" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.2083839127.1982471180" name="No_IP" parent="com.ti.ccstudio.buildDefinitions.C6000.Debug" postbuildStep="" prebuildStep="">
+                               <configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="No IP build" errorParsers="org.eclipse.rtsc.xdctools.parsers.ErrorParser;com.ti.ccstudio.errorparser.CoffErrorParser;com.ti.ccstudio.errorparser.LinkErrorParser;com.ti.ccstudio.errorparser.AsmErrorParser" id="com.ti.ccstudio.buildDefinitions.C6000.Debug.2083839127.1982471180" name="Debug_NoIP" parent="com.ti.ccstudio.buildDefinitions.C6000.Debug" postbuildStep="" prebuildStep="">
                                        <folderInfo id="com.ti.ccstudio.buildDefinitions.C6000.Debug.2083839127.1982471180." name="/" resourcePath="">
                                                <toolChain id="com.ti.ccstudio.buildDefinitions.C6000_8.1.exe.DebugToolchain.817047314" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C6000_8.1.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C6000_8.1.exe.linkerDebug.1985623795">
                                                        <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.48968589" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
index 475ef5d98645c00a2bd137765c65fa4d8c84c4d2..ed38814cdf181264f97542fdf6b439ea546d2ab6 100644 (file)
@@ -64,8 +64,9 @@ eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.c
 
 :: Build Dolby Harmony projects
 set TRUE=
-if "%1"=="ALL" set TRUE=1
 if "%1"=="DH" set TRUE=1
+if "%1"=="ALLIP" set TRUE=1
+if "%1"=="ALL" set TRUE=1
 if defined TRUE (
     rem Default is Debug build configuration
     set ARM_APP_BUILD_PROFILE=Debug_DH
@@ -98,8 +99,9 @@ if defined TRUE (
 
 :: Build DTS:X projects
 set TRUE=
-if "%1"=="ALL" set TRUE=1
 if "%1"=="DTSX" set TRUE=1
+if "%1"=="ALLIP" set TRUE=1
+if "%1"=="ALL" set TRUE=1
 if defined TRUE (
     rem Default is Debug build configuration
     set ARM_APP_BUILD_PROFILE=Debug_DTSX
@@ -130,6 +132,24 @@ if defined TRUE (
     eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_dsp -ccs.configuration !DSP_APP_BUILD_PROFILE!
 )
 
+:: Build No IP projects
+set TRUE=
+if "%1"=="NOIP" set TRUE=1
+if "%1"=="ALL" set TRUE=1
+if defined TRUE (
+    rem This is currently the only build configuration for No IP
+    set ARM_APP_BUILD_PROFILE=Debug_NoIP
+    set DSP_APP_BUILD_PROFILE=Debug_NoIP
+    
+    rem Build ARM application project
+    echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_arm -ccs.configuration !ARM_APP_BUILD_PROFILE!
+    eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_arm -ccs.configuration !ARM_APP_BUILD_PROFILE!
+
+    rem Build DSP application project
+    echo eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_dsp -ccs.configuration !DSP_APP_BUILD_PROFILE!
+    eclipsec -noSplash -data %PASDK_LROOT_DIR%\%CCS_WRKSP_DIR% -application com.ti.ccstudio.apps.projectBuild -ccs.projects test_dsp -ccs.configuration !DSP_APP_BUILD_PROFILE!
+)
+
 set CYGWIN=%SAVE_CYGWIN%
 
 :cleanupenv