diff mbox series

[oe,meta-initramfs,1/5] klibc: Edit out gcc hardcoding in do_compile

Message ID 20170911151056.4577-1-raj.khem@gmail.com
State Accepted
Commit 028eeb8ca6809b7f4042fcaf2ec4f3982076f857
Headers show
Series [oe,meta-initramfs,1/5] klibc: Edit out gcc hardcoding in do_compile | expand

Commit Message

Khem Raj Sept. 11, 2017, 3:10 p.m. UTC
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>

---
 meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.14.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

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
 }