[oe] [meta-oe][PATCH 1/2] toybox: Fix configure failure
Paul Barker
pbarker at toganlabs.com
Mon Mar 13 17:48:57 UTC 2017
do_configure is currently failing as HOSTCC defaults to just 'cc' in the
toybox Makefile.
Signed-off-by: Paul Barker <pbarker at toganlabs.com>
---
meta-oe/recipes-core/toybox/toybox_0.7.2.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-core/toybox/toybox_0.7.2.bb b/meta-oe/recipes-core/toybox/toybox_0.7.2.bb
index 93ef45bb5..84146584d 100644
--- a/meta-oe/recipes-core/toybox/toybox_0.7.2.bb
+++ b/meta-oe/recipes-core/toybox/toybox_0.7.2.bb
@@ -16,6 +16,8 @@ SECTION = "base"
TOYBOX_BIN = "generated/unstripped/toybox"
+EXTRA_OEMAKE = 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
+
do_configure() {
oe_runmake defconfig
--
2.11.0
More information about the Openembedded-devel
mailing list