mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
gnu-efi: build 64-bit for x32
We're targeting the x86_64 EFI ABI. (From OE-Core rev: 24325410acb670a3e7bc626ac3607efa8df38dc5) (From OE-Core rev: 6017c9b2009357ece12be18550ddfbafe555430a) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ddd1da619d
commit
08f62237c4
@@ -52,3 +52,12 @@ BBCLASSEXTEND = "native"
|
||||
# CFLAGS += -mno-mmx -mno-sse
|
||||
# So also remove -mfpmath=sse from TUNE_CCARGS
|
||||
TUNE_CCARGS_remove = "-mfpmath=sse"
|
||||
|
||||
python () {
|
||||
ccargs = d.getVar('TUNE_CCARGS', True).split()
|
||||
if '-mx32' in ccargs:
|
||||
# use x86_64 EFI ABI
|
||||
ccargs.remove('-mx32')
|
||||
ccargs.append('-m64')
|
||||
d.setVar('TUNE_CCARGS', ' '.join(ccargs))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user