summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/bld_vlv.sh
diff options
context:
space:
mode:
authorlushifex <shifeix.a.lu@intel.com>2017-09-04 16:22:16 +0800
committerGuo Mang <mang.guo@intel.com>2017-09-05 19:46:06 +0800
commite323321e2e36b876e62da2b3a9056795180e5f48 (patch)
tree13837f2b70ae954cee456fddb61b8360d1d8764f /Vlv2TbltDevicePkg/bld_vlv.sh
parentc365ab11ecc241e56f09b57aff187a442b76907a (diff)
downloadedk2-platforms-e323321e2e36b876e62da2b3a9056795180e5f48.tar.xz
Vlv2TbltDevicePkg: Upgrade core to UDK2017.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/bld_vlv.sh')
-rwxr-xr-xVlv2TbltDevicePkg/bld_vlv.sh27
1 files changed, 3 insertions, 24 deletions
diff --git a/Vlv2TbltDevicePkg/bld_vlv.sh b/Vlv2TbltDevicePkg/bld_vlv.sh
index cba30c6d88..76becfa1f3 100755
--- a/Vlv2TbltDevicePkg/bld_vlv.sh
+++ b/Vlv2TbltDevicePkg/bld_vlv.sh
@@ -124,10 +124,10 @@ fi
## Remove the values for Platform_Type and Build_Target from BiosIdX.env and stage in Conf
if [ $Arch == "IA32" ]; then
- cp $PLATFORM_PACKAGE/BiosIdR.env Conf/BiosId.env
+ cp $PLATFORM_PACKAGE/BiosId.env Conf/BiosId.env
echo DEFINE X64_CONFIG = FALSE >> $auto_config_inc
else
- cp $PLATFORM_PACKAGE/BiosIdx64R.env Conf/BiosId.env
+ cp $PLATFORM_PACKAGE/BiosId.env Conf/BiosId.env
echo DEFINE X64_CONFIG = TRUE >> $auto_config_inc
fi
sed -i '/^BOARD_ID/d' Conf/BiosId.env
@@ -177,30 +177,9 @@ sed -i '/^TARGET_ARCH/d' Conf/target.txt
sed -i '/^TOOL_CHAIN_TAG/d' Conf/target.txt
sed -i '/^MAX_CONCURRENT_THREAD_NUMBER/d' Conf/target.txt
-gcc_version=$(gcc -v 2>&1 | tail -1 | awk '{print $3}')
-case $gcc_version in
- 4.5.*)
- TARGET_TOOLS=GCC45
- ;;
- 4.6.*)
- TARGET_TOOLS=GCC46
- ;;
- 4.7.*)
- TARGET_TOOLS=GCC47
- ;;
- 4.8.*)
- TARGET_TOOLS=GCC48
- ;;
- 4.9.*|4.1[0-9].*|5.*.*|6.*.*)
- TARGET_TOOLS=GCC49
- ;;
- *)
- TARGET_TOOLS=GCC44
- ;;
-esac
ACTIVE_PLATFORM=$PLATFORM_PACKAGE/PlatformPkgGcc"$Arch".dsc
-TOOL_CHAIN_TAG=$TARGET_TOOLS
+TOOL_CHAIN_TAG=GCC5
MAX_CONCURRENT_THREAD_NUMBER=1
echo ACTIVE_PLATFORM = $ACTIVE_PLATFORM >> Conf/target.txt
echo TARGET = $TARGET >> Conf/target.txt