From 82b589603ce1283f0e19554a43379741f05b3c62 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Mon, 13 Mar 2017 17:48:57 +0000 Subject: toybox: Fix configure failure do_configure is currently failing as HOSTCC defaults to just 'cc' in the toybox Makefile. Signed-off-by: Paul Barker Signed-off-by: Martin Jansa --- 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 -- cgit v1.2.3-54-g00ecf