aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-03-15 16:52:47 -0700
committerKhem Raj <raj.khem@gmail.com>2019-03-15 16:53:56 -0700
commit98461f1c2e8e4e82b87515a2eb7244e287966dff (patch)
treea6289329d14b48b1fb5df10e43c5f8c5930bc714
parent41c263bf8ed6a5fdc849dcaa92b4828295c9f405 (diff)
downloadmeta-openembedded-98461f1c2e8e4e82b87515a2eb7244e287966dff.tar.gz
meta-openembedded-98461f1c2e8e4e82b87515a2eb7244e287966dff.tar.bz2
meta-openembedded-98461f1c2e8e4e82b87515a2eb7244e287966dff.zip
klibc.bbclass: Add libc-klibc to overrides
We can use this to apply klibc specific patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-initramfs/classes/klibc.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass
index b7b72b728..bba10f1b6 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:"