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
This commit is contained in:
Jordan Justen 2014-01-20 08:49:58 +00:00 committed by jljusten
parent 2c86b6b785
commit d0115279be
1 changed files with 5 additions and 2 deletions

View File

@ -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
;;