diff options
author | Jérémy Rosen <jeremy.rosen@smile.fr> | 2016-09-07 11:08:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-14 22:22:07 +0100 |
commit | 270f4232acafccc07874dbc967cfd4dde4460721 (patch) | |
tree | a43384b2c24d1efe5f64bc5e143c89f1bc7da89e /meta/classes | |
parent | ddc7bd795b02da614b446285dc3680f94ed268aa (diff) | |
download | poky-270f4232acafccc07874dbc967cfd4dde4460721.tar.gz |
linux-yocto: 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: c710401a2af6488b38565e8ef32b48ed1cd0aa69)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index d6a0ca8504..e4e8ee43ea 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -156,6 +156,7 @@ UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}" | |||
156 | # Some Linux kernel configurations need additional parameters on the command line | 156 | # Some Linux kernel configurations need additional parameters on the command line |
157 | KERNEL_EXTRA_ARGS ?= "" | 157 | KERNEL_EXTRA_ARGS ?= "" |
158 | 158 | ||
159 | EXTRA_OEMAKE = " HOSTCC="${BUILD_CC}" HOSTCPP="${BUILD_CPP}"" | ||
159 | KERNEL_ALT_IMAGETYPE ??= "" | 160 | KERNEL_ALT_IMAGETYPE ??= "" |
160 | 161 | ||
161 | copy_initramfs() { | 162 | copy_initramfs() { |