diff mbox series

[oe,meta-initramfs] klibc.bbclass: Add libc-klibc to overrides

Message ID 20190315235556.25781-1-raj.khem@gmail.com
State Accepted
Commit 98461f1c2e8e4e82b87515a2eb7244e287966dff
Headers show
Series [oe,meta-initramfs] klibc.bbclass: Add libc-klibc to overrides | expand

Commit Message

Khem Raj March 15, 2019, 11:55 p.m. UTC
We can use this to apply klibc specific patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-initramfs/classes/klibc.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.21.0

-- 
_______________________________________________
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/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass
index b7b72b728b..bba10f1b61 100644
--- a/meta-initramfs/classes/klibc.bbclass
+++ b/meta-initramfs/classes/klibc.bbclass
@@ -8,9 +8,9 @@  CC_forcevariable_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS
 CC_append_armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
 CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
 
-CPP_forcevariable = "${CC} -E"
-
 # klcc uses own optimizations by default. See klcc(1) man file.
 export CFLAGS="${TUNE_CCARGS}"
 export CPPFLAGS="${TUNE_CCARGS}"
 export LDFLAGS="${TUNE_CCARGS}"
+
+OVERRIDES =. "libc-klibc:"