summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/BuildAll.sh
diff options
context:
space:
mode:
authorGuo Mang <mang.guo@intel.com>2016-12-23 13:15:45 +0800
committerGuo Mang <mang.guo@intel.com>2017-05-09 13:02:57 +0800
commit64540be64d757e4ada46f79e6a5d0617470d26f9 (patch)
treec4b1f6eb4bc84f14f18888050aab6a6c42493dc1 /Platform/BroxtonPlatformPkg/BuildAll.sh
parent675f006d8a881f11dd2fb0c9acadd3bcf9e865d9 (diff)
downloadedk2-platforms-64540be64d757e4ada46f79e6a5d0617470d26f9.tar.xz
BroxtonPlatformPkg: Add BroxtonPlatformPkg dsc, fdf and script files
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/BuildAll.sh')
-rw-r--r--Platform/BroxtonPlatformPkg/BuildAll.sh41
1 files changed, 41 insertions, 0 deletions
diff --git a/Platform/BroxtonPlatformPkg/BuildAll.sh b/Platform/BroxtonPlatformPkg/BuildAll.sh
new file mode 100644
index 0000000000..2a2afd686d
--- /dev/null
+++ b/Platform/BroxtonPlatformPkg/BuildAll.sh
@@ -0,0 +1,41 @@
+##**********************************************************************
+## Function define
+##**********************************************************************
+function Usage() {
+ echo
+ echo "Usage: BuildAll.bat [/ia32 | /x64] "
+ echo
+ echo "If NO flags, both are built. "
+ echo
+ echo " /ia32 Build only 32 bit "
+ echo " /x64 Build only 64 bit "
+ echo
+ echo "Press any key...... "
+ read
+ exit 0
+}
+
+##
+## This script will attempt all the critical build combinations
+## (it will not build all combination, as there are way to many)
+##
+
+##
+## If you think a need build combination is missing, please add it below
+##
+
+echo
+if [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/x64" ]; then
+ ./BuildIFWI.sh /q /vp /x64 APLK debug
+ ./BuildIFWI.sh /q /vp /x64 BXTM debug
+ ./BuildIFWI.sh /q /vp /x64 /csle BXTM debug
+ ./BuildIFWI.sh /q /vp /x64 /sv BXTM debug
+ ./BuildIFWI.sh /q /vp /x64 APLK release
+ ./BuildIFWI.sh /q /vp /x64 BXTM release
+
+else
+ ./BuildIFWI.sh /q /vp APLK debug
+ ./BuildIFWI.sh /q /vp BXTM debug
+ ./BuildIFWI.sh /q /vp APLK release
+ ./BuildIFWI.sh /q /vp BXTM release
+fi \ No newline at end of file