summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/classes
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 /meta-initramfs/classes
parent41c263bf8ed6a5fdc849dcaa92b4828295c9f405 (diff)
downloadmeta-openembedded-98461f1c2e8e4e82b87515a2eb7244e287966dff.tar.gz
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>
Diffstat (limited to 'meta-initramfs/classes')
-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
8CC_append_armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" 8CC_append_armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
9CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" 9CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
10 10
11CPP_forcevariable = "${CC} -E"
12
13# klcc uses own optimizations by default. See klcc(1) man file. 11# klcc uses own optimizations by default. See klcc(1) man file.
14export CFLAGS="${TUNE_CCARGS}" 12export CFLAGS="${TUNE_CCARGS}"
15export CPPFLAGS="${TUNE_CCARGS}" 13export CPPFLAGS="${TUNE_CCARGS}"
16export LDFLAGS="${TUNE_CCARGS}" 14export LDFLAGS="${TUNE_CCARGS}"
15
16OVERRIDES =. "libc-klibc:"