[oe-commits] [openembedded-core] 06/40: linux-libc-headers: allow overriding compiler name in KConfig
git at git.openembedded.org
git at git.openembedded.org
Tue Sep 13 14:19:57 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 4676525795c565855cadd992e4be68eba6bc8b01
Author: Jérémy Rosen <jeremy.rosen at smile.fr>
AuthorDate: Wed Sep 7 11:08:44 2016 +0200
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
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | 2 ++
1 file changed, 2 insertions(+)
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 c701b39..078d752 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
S = "${WORKDIR}/linux-${PV}"
+EXTRA_OEMAKE = " HOSTCC="${BUILD_CC}" HOSTCPP="${BUILD_CPP}""
+
do_configure() {
oe_runmake allnoconfig
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list