toybox: Fix configure failure

do_configure is currently failing as HOSTCC defaults to just 'cc' in the
toybox Makefile.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Paul Barker 2017-03-13 17:48:57 +00:00 committed by Martin Jansa
parent ebd31fd8d5
commit 82b589603c

View File

@ -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