summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-01-20 08:49:58 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-01-20 08:49:58 +0000
commitd0115279bececedb61bc40d4006d74365b4a30b6 (patch)
treedae3c28452375d557c97d162e990b4a4245e3333
parent2c86b6b785f50a38c52949c46fd2b1d00fc80721 (diff)
downloadedk2-platforms-d0115279bececedb61bc40d4006d74365b4a30b6.tar.xz
OvmfPkg/build.sh: Support GCC48 toolchain
If GCC 4.8 or 4.9 is detected, then use the GCC48 toolchain. Previously we would use the GCC47 toolchain, but GCC48 was recently added to the main edk2 BaseTools/Conf. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15141 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-xOvmfPkg/build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh
index f3eb97c1d0..5bfee725ad 100755
--- a/OvmfPkg/build.sh
+++ b/OvmfPkg/build.sh
@@ -1,7 +1,7 @@
#!/bin/bash
#
# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
-# Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -82,9 +82,12 @@ case `uname` in
4.6.*)
TARGET_TOOLS=GCC46
;;
- 4.[789].*)
+ 4.7.*)
TARGET_TOOLS=GCC47
;;
+ 4.[8-9].*)
+ TARGET_TOOLS=GCC48
+ ;;
*)
TARGET_TOOLS=GCC44
;;