From: sweeaun <[email protected]> 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 <[email protected]> --- common/recipes-bsp/efilinux/efilinux_1.1.bb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/common/recipes-bsp/efilinux/efilinux_1.1.bb b/common/recipes-bsp/efilinux/efilinux_1.1.bb index 04422dd..d30377b 100644 --- a/common/recipes-bsp/efilinux/efilinux_1.1.bb +++ b/common/recipes-bsp/efilinux/efilinux_1.1.bb @@ -28,3 +28,12 @@ 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)) +} + -- 2.7.4 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
