diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-03-15 16:52:47 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-03-15 16:53:56 -0700 |
commit | 98461f1c2e8e4e82b87515a2eb7244e287966dff (patch) | |
tree | a6289329d14b48b1fb5df10e43c5f8c5930bc714 /meta-initramfs/classes/klibc.bbclass | |
parent | 41c263bf8ed6a5fdc849dcaa92b4828295c9f405 (diff) | |
download | meta-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/klibc.bbclass')
-rw-r--r-- | meta-initramfs/classes/klibc.bbclass | 4 |
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 | |||
8 | CC_append_armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" | 8 | CC_append_armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" |
9 | CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" | 9 | CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" |
10 | 10 | ||
11 | CPP_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. |
14 | export CFLAGS="${TUNE_CCARGS}" | 12 | export CFLAGS="${TUNE_CCARGS}" |
15 | export CPPFLAGS="${TUNE_CCARGS}" | 13 | export CPPFLAGS="${TUNE_CCARGS}" |
16 | export LDFLAGS="${TUNE_CCARGS}" | 14 | export LDFLAGS="${TUNE_CCARGS}" |
15 | |||
16 | OVERRIDES =. "libc-klibc:" | ||