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

Submitted by Andrea Adami on Feb. 13, 2013, 11:42 p.m.

Details

Message ID 1360798947-726-1-git-send-email-andrea.adami@gmail.com
State Accepted, archived
Commit a26e968915411e9aa4fee882f3d49b769dc0cd9d
Headers show

Commit Message

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 hide | download patch | download mbox

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.