diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2013-02-13 23:42:27 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-02-16 05:54:59 +0100 |
commit | a26e968915411e9aa4fee882f3d49b769dc0cd9d (patch) | |
tree | 396f01c112d028842607f1b73ad27dc6c75ad74c /meta-initramfs | |
parent | cf56567570967dfc8730aec031a94e1e8668e2fe (diff) | |
download | meta-openembedded-a26e968915411e9aa4fee882f3d49b769dc0cd9d.tar.gz |
klibc.bbclass: force thumb-interworking for eabi builds on armv4
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-initramfs')
-rw-r--r-- | meta-initramfs/classes/klibc.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass index e8cdb6dff..ee4987922 100644 --- a/meta-initramfs/classes/klibc.bbclass +++ b/meta-initramfs/classes/klibc.bbclass | |||
@@ -2,6 +2,8 @@ | |||
2 | DEPENDS =+ "klcc-cross" | 2 | DEPENDS =+ "klcc-cross" |
3 | 3 | ||
4 | export CC = "${TARGET_PREFIX}klcc" | 4 | export CC = "${TARGET_PREFIX}klcc" |
5 | export CC_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc -march=armv4 -mthumb-interwork" | ||
6 | |||
5 | export CPP = "${CC} -E" | 7 | export CPP = "${CC} -E" |
6 | 8 | ||
7 | # klcc uses own optimizations by default. See klcc(1) man file. | 9 | # klcc uses own optimizations by default. See klcc(1) man file. |