diff options
author | Jérémy Rosen <jeremy.rosen@smile.fr> | 2016-09-07 11:08:44 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-14 22:22:07 +0100 |
commit | 3e6f3e09a35313ea25bceb108c7c19dcac61a1d9 (patch) | |
tree | 87fe4f38653042a6763f782936fbf5b8b4fa2d87 /meta | |
parent | 270f4232acafccc07874dbc967cfd4dde4460721 (diff) | |
download | poky-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.inc | 2 |
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 | ||
51 | S = "${WORKDIR}/linux-${PV}" | 51 | S = "${WORKDIR}/linux-${PV}" |
52 | 52 | ||
53 | EXTRA_OEMAKE = " HOSTCC="${BUILD_CC}" HOSTCPP="${BUILD_CPP}"" | ||
54 | |||
53 | do_configure() { | 55 | do_configure() { |
54 | oe_runmake allnoconfig | 56 | oe_runmake allnoconfig |
55 | } | 57 | } |