]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/build.sh: Support GCC48 toolchain
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 20 Jan 2014 08:49:58 +0000 (08:49 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 20 Jan 2014 08:49:58 +0000 (08:49 +0000)
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

OvmfPkg/build.sh

index f3eb97c1d0ab6692f3797137618e202a1d301b45..5bfee725ad2d699bf5f11339043d4d37f8607b54 100755 (executable)
@@ -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
         ;;