diff options
| author | sweeaun <swee.aun.khor@intel.com> | 2017-08-16 16:44:58 -0700 |
|---|---|---|
| committer | Saul Wold <sgw@linux.intel.com> | 2017-08-23 15:16:35 -0700 |
| commit | 3c0368846db41149f1f6e80ad9b2166c930c8c78 (patch) | |
| tree | 7c841ddfee3aa0509d6d9af5d8881f21d5df0735 | |
| parent | 1fcd3a2a24736f3ed44345525928467098cb3023 (diff) | |
| download | meta-intel-3c0368846db41149f1f6e80ad9b2166c930c8c78.tar.gz | |
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>
| -rw-r--r-- | common/recipes-bsp/efilinux/efilinux_1.1.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/recipes-bsp/efilinux/efilinux_1.1.bb b/common/recipes-bsp/efilinux/efilinux_1.1.bb index 04422ddc..63e80f88 100644 --- a/common/recipes-bsp/efilinux/efilinux_1.1.bb +++ b/common/recipes-bsp/efilinux/efilinux_1.1.bb | |||
| @@ -28,3 +28,11 @@ do_deploy () { | |||
| 28 | } | 28 | } |
| 29 | addtask deploy before do_build after do_compile | 29 | addtask deploy before do_build after do_compile |
| 30 | 30 | ||
| 31 | python () { | ||
| 32 | ccargs = d.getVar('TUNE_CCARGS').split() | ||
| 33 | if '-mx32' in ccargs: | ||
| 34 | # use x86_64 EFI ABI | ||
| 35 | ccargs.remove('-mx32') | ||
| 36 | ccargs.append('-m64') | ||
| 37 | d.setVar('TUNE_CCARGS', ' '.join(ccargs)) | ||
| 38 | } | ||
