summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/build.sh
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2019-01-02 20:37:02 +0100
committerLaszlo Ersek <lersek@redhat.com>2019-01-08 02:34:10 +0100
commit8d7cdfae8cb8952505f80e5f7fa42838406e34f2 (patch)
treef4c1a7050108ae4bc76f8c0769a9405eed24d572 /OvmfPkg/build.sh
parent8ff122119941fdf23234134892c2d76a214f5f2d (diff)
downloadedk2-8d7cdfae8cb8952505f80e5f7fa42838406e34f2.tar.gz
edk2-8d7cdfae8cb8952505f80e5f7fa42838406e34f2.tar.bz2
edk2-8d7cdfae8cb8952505f80e5f7fa42838406e34f2.zip
OvmfPkg: require GCC48 or later
We're about to remove BaseTools support for GCC44..GCC47. Reject those gcc versions cleanly in "OvmfPkg/build.sh". In "OvmfPkg/README", upgrade any mentions of the same gcc versions to GCC48. No GCC44..GCC47 references remain under OvmfPkg after this patch. Cc: Anthony Perard <anthony.perard@citrix.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Julien Grall <julien.grall@linaro.org> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1377 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'OvmfPkg/build.sh')
-rwxr-xr-xOvmfPkg/build.sh16
1 files changed, 2 insertions, 14 deletions
diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh
index 6821552025..6821742e7a 100755
--- a/OvmfPkg/build.sh
+++ b/OvmfPkg/build.sh
@@ -83,22 +83,10 @@ case `uname` in
Linux*)
gcc_version=$(gcc -v 2>&1 | tail -1 | awk '{print $3}')
case $gcc_version in
- [1-3].*|4.[0-3].*)
- echo OvmfPkg requires GCC4.4 or later
+ [1-3].*|4.[0-7].*)
+ echo OvmfPkg requires GCC4.8 or later
exit 1
;;
- 4.4.*)
- TARGET_TOOLS=GCC44
- ;;
- 4.5.*)
- TARGET_TOOLS=GCC45
- ;;
- 4.6.*)
- TARGET_TOOLS=GCC46
- ;;
- 4.7.*)
- TARGET_TOOLS=GCC47
- ;;
4.8.*)
TARGET_TOOLS=GCC48
;;