aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs/classes
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2013-02-13 23:42:27 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-02-16 05:54:59 +0100
commita26e968915411e9aa4fee882f3d49b769dc0cd9d (patch)
tree396f01c112d028842607f1b73ad27dc6c75ad74c /meta-initramfs/classes
parentcf56567570967dfc8730aec031a94e1e8668e2fe (diff)
downloadmeta-openembedded-contrib-a26e968915411e9aa4fee882f3d49b769dc0cd9d.tar.gz
meta-openembedded-contrib-a26e968915411e9aa4fee882f3d49b769dc0cd9d.tar.bz2
meta-openembedded-contrib-a26e968915411e9aa4fee882f3d49b769dc0cd9d.zip
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/classes')
-rw-r--r--meta-initramfs/classes/klibc.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass
index e8cdb6dff2..ee49879223 100644
--- a/meta-initramfs/classes/klibc.bbclass
+++ b/meta-initramfs/classes/klibc.bbclass
@@ -2,6 +2,8 @@
DEPENDS =+ "klcc-cross"
export CC = "${TARGET_PREFIX}klcc"
+export CC_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc -march=armv4 -mthumb-interwork"
+
export CPP = "${CC} -E"
# klcc uses own optimizations by default. See klcc(1) man file.