Patchwork [meta-oe,meta-initramfs] klibc.bbclass: force thumb-interworking for eabi builds on armv4

login
register
mail settings
Submitter Andrea Adami
Date Feb. 13, 2013, 11:42 p.m.
Message ID <1360798947-726-1-git-send-email-andrea.adami@gmail.com>
Download mbox | patch
Permalink /patch/44613/
State Accepted, archived
Commit a26e968915411e9aa4fee882f3d49b769dc0cd9d
Headers show

Comments

Andrea Adami - Feb. 13, 2013, 11:42 p.m.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 meta-initramfs/classes/klibc.bbclass | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass
index e8cdb6d..ee49879 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.