mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-06 02:40:18 +00:00
arm/edk2-firware: don't handle obsolete GCC releases
There's no point in handling GCC cross compilers that are before version 5, as GCC 5 came out in 2017 and is obsolete now. Change-Id: I650ee44c433f70004d20c0219310ddbd4028addb Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -52,17 +52,7 @@ export CONF_PATH = "${WORKSPACE}/Conf"
|
||||
|
||||
export BTOOLS_PATH = "${EDK_TOOLS_PATH}/BinWrappers/PosixLike"
|
||||
|
||||
python __anonymous() {
|
||||
# If GCC Version is greater than 4 then pass GCC5
|
||||
# set GCC5 by default
|
||||
d.setVar('GCC_VER', 'GCC5')
|
||||
|
||||
# Otherwise pass the corresponding version
|
||||
G = d.getVar('GCCVERSION',True).split(".")
|
||||
gcc_vlist = ['1', '2', '3', '4']
|
||||
if G[0] in gcc_vlist:
|
||||
d.setVar('GCC_VER', 'GCC'+G[0])
|
||||
}
|
||||
GCC_VER ?= "GCC5"
|
||||
|
||||
do_compile() {
|
||||
sed -i -e 's:-I \.\.:-I \.\. ${BUILD_CFLAGS} :' ${EDK_TOOLS_PATH}/Source/C/Makefiles/header.makefile
|
||||
|
||||
Reference in New Issue
Block a user