[oe] [meta-initramfs][PATCH 1/5] klibc: Edit out gcc hardcoding in do_compile
Khem Raj
raj.khem at gmail.com
Mon Sep 11 15:10:52 UTC 2017
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 at gmail.com>
---
meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc
index ed15b2e1e..dec3d3704 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
}
--
2.14.1
More information about the Openembedded-devel
mailing list