aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-09-11 08:10:52 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-09-18 10:16:23 +0200
commit028eeb8ca6809b7f4042fcaf2ec4f3982076f857 (patch)
tree1bf8731e34c879ae5ede3d8dcb7addf656ff4579 /meta-initramfs
parenta3e6631543caefb1ca200b6b3652924b92ba3875 (diff)
downloadmeta-openembedded-contrib-028eeb8ca6809b7f4042fcaf2ec4f3982076f857.tar.gz
meta-openembedded-contrib-028eeb8ca6809b7f4042fcaf2ec4f3982076f857.tar.bz2
meta-openembedded-contrib-028eeb8ca6809b7f4042fcaf2ec4f3982076f857.zip
klibc: Edit out gcc hardcoding in do_compile
This is needed when building klcc-cross and klcc-cross does not have do_configure, therefore stick this just before do_compile Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-initramfs')
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc
index ed15b2e1ea..dec3d37042 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc.inc
+++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc
@@ -50,7 +50,7 @@ do_configure () {
ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux
}
-do_configure_prepend_toolchain-clang() {
+do_compile_prepend_toolchain-clang() {
sed -i -e 's#$(KLIBCROSS)gcc#$(KLIBCROSS)clang#g' ${S}/Makefile
}