mirror of https://github.com/acidanthera/audk.git
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:
parent
2c86b6b785
commit
d0115279be
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
# 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
|
# This program and the accompanying materials
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
# are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -82,9 +82,12 @@ case `uname` in
|
||||||
4.6.*)
|
4.6.*)
|
||||||
TARGET_TOOLS=GCC46
|
TARGET_TOOLS=GCC46
|
||||||
;;
|
;;
|
||||||
4.[789].*)
|
4.7.*)
|
||||||
TARGET_TOOLS=GCC47
|
TARGET_TOOLS=GCC47
|
||||||
;;
|
;;
|
||||||
|
4.[8-9].*)
|
||||||
|
TARGET_TOOLS=GCC48
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
TARGET_TOOLS=GCC44
|
TARGET_TOOLS=GCC44
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue