mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
efilinux: Enable muslx32 build
Enable muslx32 build for efilinux. Using -m64 instead of -mx32 in TUNE_CCARGS as efi needed to be built for 64 bits. Signed-off-by: sweeaun <swee.aun.khor@intel.com> [Fixed whitespace error] Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
This commit is contained in:
parent
1fcd3a2a24
commit
3c0368846d
|
@ -28,3 +28,11 @@ do_deploy () {
|
|||
}
|
||||
addtask deploy before do_build after do_compile
|
||||
|
||||
python () {
|
||||
ccargs = d.getVar('TUNE_CCARGS').split()
|
||||
if '-mx32' in ccargs:
|
||||
# use x86_64 EFI ABI
|
||||
ccargs.remove('-mx32')
|
||||
ccargs.append('-m64')
|
||||
d.setVar('TUNE_CCARGS', ' '.join(ccargs))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user