index dc1e87ec26a115db062b42b20a81006cee141d25..aa32cf7fc4c74fcfa3b190924dad22f9c3068221 100644 (file)
:: *************************************************************************
:: %1: Build profile: Debug, Release, SDF
-@echo Executing: %~fn0 %1
+@echo Executing: %~fn0 %1 %2
if "%PASDK_ROOT_DIR%" == "" set PASDK_ROOT_DIR=%~dp0..\
set SAVE_CYGWIN=%CYGWIN%
set CYGWIN=nontsec
-if "%1"=="Debug" goto SetBuildProfilesDebug
-if "%1"=="Release" goto SetBuildProfilesRelease
+:: Default is DH Debug build configuration
+set ARM_APP_BUILD_PROFILE=Debug_DH
+set DSP_APP_BUILD_PROFILE=Debug_DH
-:: Set build profiles for SDF
-::set PDK_PLATFORM_LIB_BUILD_PROFILE=Debug
-rem <<<<<<< HEAD
-set ARM_APP_BUILD_PROFILE=Debug_DH_IPPkgs
-set DSP_APP_BUILD_PROFILE=Debug_DH_IPPkgs
-rem =======
+if "%1"=="DH" (
+ if "%2"=="Debug" (
+ set ARM_APP_BUILD_PROFILE=Debug_DH
+ set DSP_APP_BUILD_PROFILE=Debug_DH
+ )
+
+ if "%2"=="Release" (
+ rem FL: currently we only have a "Release" profile for the DSP
+ set ARM_APP_BUILD_PROFILE=Debug_DH
+ set DSP_APP_BUILD_PROFILE=Release_DH
+ )
+
+ if "%2"=="SDF" (
+ set ARM_APP_BUILD_PROFILE=Debug_DH_IPPkgs
+ set DSP_APP_BUILD_PROFILE=Debug_DH_IPPkgs
+ )
+
+ goto build_ccs_projects
+)
+
+if "%1"=="DTSX" (
+ if "%2"=="Debug" (
+ set ARM_APP_BUILD_PROFILE=Debug_DTSX
+ set DSP_APP_BUILD_PROFILE=Debug_DTSX
+ )
+
+ if "%2"=="Release" (
+ rem FL: currently we only have a "Release" profile for the DSP
+ set ARM_APP_BUILD_PROFILE=Debug_DTSX
+ set DSP_APP_BUILD_PROFILE=Release_DTSX
+ )
+
+ if "%2"=="SDF" (
+ set ARM_APP_BUILD_PROFILE=Debug_DTSX_IPPkgs
+ set DSP_APP_BUILD_PROFILE=Debug_DTSX_IPPkgs
+ )
+
+ goto build_ccs_projects
+)
+
+rem if "%2"=="Debug" goto SetBuildProfilesDebug
+rem if "%2"=="Release" goto SetBuildProfilesRelease
+rem
+rem :: Set build profiles for SDF
+rem ::set PDK_PLATFORM_LIB_BUILD_PROFILE=Debug
+rem rem <<<<<<< HEAD
+rem rem set ARM_APP_BUILD_PROFILE=Debug_DH_IPPkgs
+rem rem set DSP_APP_BUILD_PROFILE=Debug_DH_IPPkgs
+rem rem =======
rem set ARM_APP_BUILD_PROFILE=Debug_DTSX_IPPkgs
rem set DSP_APP_BUILD_PROFILE=Debug_DTSX_IPPkgs
-rem >>>>>>> origin/dev_pasdk_frank_pasdk379Beta3Release
-goto build_ccs_projects
-
-:SetBuildProfilesDebug
-:: Set build profiles for debug
-::set PDK_PLATFORM_LIB_BUILD_PROFILE=Debug
-rem <<<<<<< HEAD
-set ARM_APP_BUILD_PROFILE=Debug_DH
-set DSP_APP_BUILD_PROFILE=Debug_DH
-rem =======
+rem rem >>>>>>> origin/dev_pasdk_frank_pasdk379Beta3Release
+rem goto build_ccs_projects
+rem
+rem :SetBuildProfilesDebug
+rem :: Set build profiles for debug
+rem ::set PDK_PLATFORM_LIB_BUILD_PROFILE=Debug
+rem rem <<<<<<< HEAD
+rem rem set ARM_APP_BUILD_PROFILE=Debug_DH
+rem rem set DSP_APP_BUILD_PROFILE=Debug_DH
+rem rem =======
rem set ARM_APP_BUILD_PROFILE=Debug_DTSX
rem set DSP_APP_BUILD_PROFILE=Debug_DTSX
-rem >>>>>>> origin/dev_pasdk_frank_pasdk379Beta3Release
-goto build_ccs_projects
-
-:SetBuildProfilesRelease
-:: Set build profiles for release
-:: FL: currently we only have a "Release" profile for the DSP
-::set PDK_PLATFORM_LIB_BUILD_PROFILE=Debug
-rem <<<<<<< HEAD
-set ARM_APP_BUILD_PROFILE=Debug_DH
-set DSP_APP_BUILD_PROFILE=Release_DH
-rem =======
+rem rem >>>>>>> origin/dev_pasdk_frank_pasdk379Beta3Release
+rem goto build_ccs_projects
+rem
+rem :SetBuildProfilesRelease
+rem :: Set build profiles for release
+rem :: FL: currently we only have a "Release" profile for the DSP
+rem ::set PDK_PLATFORM_LIB_BUILD_PROFILE=Debug
+rem rem <<<<<<< HEAD
+rem rem set ARM_APP_BUILD_PROFILE=Debug_DH
+rem rem set DSP_APP_BUILD_PROFILE=Release_DH
+rem rem =======
rem set ARM_APP_BUILD_PROFILE=Debug_DTSX
rem set DSP_APP_BUILD_PROFILE=Release_DTSX
-rem >>>>>>> origin/dev_pasdk_frank_pasdk379Beta3Release
-
+rem rem >>>>>>> origin/dev_pasdk_frank_pasdk379Beta3Release
:build_ccs_projects
+
::
:: Initialize RTSC tools discovery path
::