summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/BuildBios.sh
diff options
context:
space:
mode:
authorLu, ShifeiX A <shifeix.a.lu@intel.com>2017-06-16 17:13:06 +0800
committerzwei4 <david.wei@intel.com>2017-06-16 17:14:47 +0800
commit1ab2511598285f57ec2f48ba1cd260be29e4e478 (patch)
tree1a17c56781475caa05f8dcbc2216af452d1a5e45 /Platform/BroxtonPlatformPkg/BuildBios.sh
parentc8a19a8804acbf9fcd0cdb2ee2ed1861083896ac (diff)
downloadedk2-platforms-1ab2511598285f57ec2f48ba1cd260be29e4e478.tar.xz
Change BIOS ID.
Change BIOS ID to differentiate FAB A and FAB B Board. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/BuildBios.sh')
-rw-r--r--Platform/BroxtonPlatformPkg/BuildBios.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/Platform/BroxtonPlatformPkg/BuildBios.sh b/Platform/BroxtonPlatformPkg/BuildBios.sh
index 533993af4d..2195af63df 100644
--- a/Platform/BroxtonPlatformPkg/BuildBios.sh
+++ b/Platform/BroxtonPlatformPkg/BuildBios.sh
@@ -159,6 +159,7 @@ fi
cp $WORKSPACE/$PLATFORM_PACKAGE/BiosId.env $WORKSPACE/Conf/BiosId.env
sed -i '/^BOARD_ID/d' $WORKSPACE/Conf/BiosId.env
sed -i '/^BUILD_TYPE/d' $WORKSPACE/Conf/BiosId.env
+sed -i '/^VERSION_MINOR/d' $WORKSPACE/Conf/BiosId.env
BOARD_ID=MNW3
@@ -203,6 +204,13 @@ else
echo BUILD_TYPE = D >> $WORKSPACE/Conf/BiosId.env
fi
+if [ $FabId == "B" ]; then
+ VERSION_MINOR=0B
+ echo VERSION_MINOR = 0B >> $WORKSPACE/Conf/BiosId.env
+else
+ VERSION_MINOR=0A
+ echo VERSION_MINOR = 0A >> $WORKSPACE/Conf/BiosId.env
+fi
##**********************************************************************
## Additional EDK Build Setup/Configuration