summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJérémy Rosen <jeremy.rosen@smile.fr>2016-09-07 11:08:44 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-14 22:22:07 +0100
commit3e6f3e09a35313ea25bceb108c7c19dcac61a1d9 (patch)
tree87fe4f38653042a6763f782936fbf5b8b4fa2d87 /meta
parent270f4232acafccc07874dbc967cfd4dde4460721 (diff)
downloadpoky-3e6f3e09a35313ea25bceb108c7c19dcac61a1d9.tar.gz
linux-libc-headers: 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: 4676525795c565855cadd992e4be68eba6bc8b01) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
index c701b3954b..078d752caa 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -50,6 +50,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar
50 50
51S = "${WORKDIR}/linux-${PV}" 51S = "${WORKDIR}/linux-${PV}"
52 52
53EXTRA_OEMAKE = " HOSTCC="${BUILD_CC}" HOSTCPP="${BUILD_CPP}""
54
53do_configure() { 55do_configure() {
54 oe_runmake allnoconfig 56 oe_runmake allnoconfig
55} 57}