[oe] [meta-oe][PATCH 2/2] acpitests: fix build failure for multilib

Yi Zhao yi.zhao at windriver.com
Tue May 26 08:19:50 UTC 2015


bitbake lib32-acpitests
[snip]
| NOTE: make -j 2  -m32 OPT_CFLAGS=-Wall
| make: *** No rule to make target ` -m32'.  Stop.
| ERROR: oe_runmake failed
[snip]

Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
 .../recipes-extended/acpica/acpitests_20140828.bb  |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/acpica/acpitests_20140828.bb b/meta-oe/recipes-extended/acpica/acpitests_20140828.bb
index da26582..1f6f190 100644
--- a/meta-oe/recipes-extended/acpica/acpitests_20140828.bb
+++ b/meta-oe/recipes-extended/acpica/acpitests_20140828.bb
@@ -18,7 +18,7 @@ SRC_URI[acpica.sha256sum] = "01d8867656c5ba41dec307c4383ce676196ad4281ac2c9dec9f
 
 S = "${WORKDIR}/acpitests-unix-${PV}"
 
-EXTRA_OEMAKE = "'${HOST_CC_ARCH}' 'OPT_CFLAGS=-Wall'"
+EXTRA_OEMAKE = "'CC=${TARGET_PREFIX}gcc ${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS}' 'OPT_CFLAGS=-Wall'"
 
 # The Makefiles expect a specific layout
 do_compile() {
-- 
1.7.9.5




More information about the Openembedded-devel mailing list