diff --git a/build_all.bat b/build_all.bat
index 57390538a2f8558057390028a0f9cecdc7cdabda..84d989e6c1f93c146cde2e88d7eda11d7e4d363b 100644 (file)
--- a/build_all.bat
+++ b/build_all.bat
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
:cont1
+:: Set PASDK root directory
set PASDK_ROOT_DIR=%~dp0
+if "%PASDK_ROOT_DIR:~-1%"=="\" set PASDK_ROOT_DIR=%PASDK_ROOT_DIR:~0,-1%
if "%3" NEQ "SDF" goto install_tools
:: Set PASDK target and version
set PASDK_TARGET_PLATFORM=k2g
-set PASDK_VERSION=01_00_00_05
+set PASDK_VERSION=01_00_00_06
:: Set FD package version
-set FD_PKG_VERSION=01_00_00_05
+set FD_PKG_VERSION=01_00_00_06
:: Set release directory
-set RELEASE_DIR=%PASDK_ROOT_DIR%release
+set RELEASE_DIR=%PASDK_ROOT_DIR%\release
:: Set FD package directory
set FD_PKG_DIR=%RELEASE_DIR%\fd_package
:: Set OS package directory
:: Set DTSX-IP package directory
set DTSXIP_PKG_DIR=%RELEASE_DIR%\dtsxip_package
-
if exist %RELEASE_DIR%\nul ( rmdir /S / Q %RELEASE_DIR% )
:: *** Build
:: *************************************************************************
:: Build DSP PDK LLD libraries
-::@pushd scripts
-::@cmd /c build_pdk_libs.bat
-::@popd
+rem @pushd scripts
+rem @cmd /c build_pdk_libs.bat
+rem @popd
:: Build ARM/DSP PAF libraries
@pushd scripts
:: Build ARM/DSP component libraries
:build_dh_libs
-rem if "%1" NEQ "DH" goto build_dtsx_libs
-rem @pushd scripts
-rem @call build_dh_libs.bat
-rem @popd
-rem
-rem if "%3" NEQ "SDF" goto build_ccs_projects
-rem :: Build DH-IP packages
-rem @pushd scripts
-rem @call build_dhip_pkgs %DHIP_PKG_DIR%
-rem @popd
-rem :: Install DH-IP packages
-rem @pushd scripts
-rem @call install_dhip_pkgs %DHIP_PKG_DIR%
-rem @popd
-rem
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
)
:build_dtsx_libs
-rem @pushd scripts
-rem @call build_dtsx_libs.bat
-rem @call build_parma_libs.bat
-rem @popd
-rem
-rem if "%3" NEQ "SDF" goto build_ccs_projects
-rem :: Build DTSX-IP packages
-rem @pushd scripts
-rem @call build_dtsxip_pkgs %DTSXIP_PKG_DIR%
-rem @popd
-rem :: Install DTS-IP packages
-rem @pushd scripts
-rem @call install_dtsxip_pkgs %DTSXIP_PKG_DIR%
-rem @popd
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