diff options
author | root <root@lamia.panaceas.james.local> | 2015-12-19 14:18:43 +0000 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2015-12-19 14:18:43 +0000 |
commit | 71478fd62d8483483abb34609cdabb7f9cbadfd6 (patch) | |
tree | 37b8eaba1ffe2d5f775227911eb0ed6fdc3c9553 /hostTools/scripts/nightlybuild/voice/cxc_nbrt_build.bat | |
parent | 1a2238d1bddc823df06f67312d96ccf9de2893cc (diff) | |
download | bootloader-71478fd62d8483483abb34609cdabb7f9cbadfd6.tar.gz bootloader-71478fd62d8483483abb34609cdabb7f9cbadfd6.tar.bz2 bootloader-71478fd62d8483483abb34609cdabb7f9cbadfd6.zip |
Add hostTools from https://github.com/Noltari/cfe_bcm63xx
Diffstat (limited to 'hostTools/scripts/nightlybuild/voice/cxc_nbrt_build.bat')
-rw-r--r-- | hostTools/scripts/nightlybuild/voice/cxc_nbrt_build.bat | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/hostTools/scripts/nightlybuild/voice/cxc_nbrt_build.bat b/hostTools/scripts/nightlybuild/voice/cxc_nbrt_build.bat new file mode 100644 index 0000000..5ec6804 --- /dev/null +++ b/hostTools/scripts/nightlybuild/voice/cxc_nbrt_build.bat @@ -0,0 +1,33 @@ +::------------------------------------------------------------------------------
+:: Broadcom Canada Ltd., Copyright 2001 - 2003
+::
+:: Filename: cxc_nbrt_build.bat
+:: Purpose: CxC Nightly Build script (builds and saves CxC images)
+:: Arguments: %1 - target CxC app to build
+:: %2 - target OS to build the app for
+::------------------------------------------------------------------------------
+
+if "%2" == "" goto argsError
+
+set cxnb_build_target=%1
+set cxnb_build_os=%2
+
+:: Setup nbrt environment variables specific for this target
+call cxc_nbrt_cfg.bat %cxnb_build_target% %cxnb_build_os%
+
+if "%CXNB_CFG_BUILD%" == "no" goto theend
+
+bash -C lnx_nbrt_build.sh >> %CXNB_OUTPUT_DIR%\build.log
+
+goto theend
+
+:argsError
+echo cxc_nbrt_build error: Insufficient arguments arg1=%1; arg2=%2; >>%CXNB_OUTPUT_DIR%\build.log
+goto theend
+
+:theend
+set cxnb_build_target=
+set cxnb_build_os=
+set cxnb_local_output_dir=
+exit
+
|