[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2420/8267] busybox: allow overriding compiler name in KConfig



commit 9da9abdd4d47473a7364782ca29da14383a023d8
Author: Jérémy Rosen <jeremy rosen smile fr>
Date:   Wed Sep 7 11:08:45 2016 +0200

    busybox: allow overriding compiler name in KConfig
    
    The KConfig infrastructure needs to build HOST binaries in order to
    provide its infratstructure. Yocto needs to force the HOSTCC and HOSTCPP
    variables to BUILD_CC and BUILD_CPP to make sure that the proper compiler
    is used when compiling host binaries
    
    (From OE-Core rev: 50fb24c889b6add053a5638a7367a8896dfebd8a)
    
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-core/busybox/busybox.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 39c2eef..f67bbbc 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -19,7 +19,7 @@ export EXTRA_CFLAGS = "${CFLAGS}"
 export EXTRA_LDFLAGS = "${LDFLAGS}"
 
 # We don't want '-e MAKEFLAGS=' in EXTRA_OEMAKE
-EXTRA_OEMAKE = "CC='${CC}' LD='${CCLD}' V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
+EXTRA_OEMAKE = "CC='${CC}' LD='${CCLD}' V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y 
HOSTCC='${BUILD_CC}' HOSTCPP='${BUILD_CPP}'"
 
 PACKAGES =+ "${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev ${PN}-hwclock"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]