Commit Graph

5 Commits

Author SHA1 Message Date
Andrea Adami
0a67b9f3fd klibc: klcc: consider --sysroot option and override gcc-cross encoded sysroot
For the recipes built with klcc-cross it is necessary to
pass --sysroot otherwise we default to the one encoded in gcc-cross which
actually is the 'first one' built.
The issue was revealed when building for armv4 after having built for armv5te:
the produced binaries did contain Illegal Instruction (bx lr).

Use ${TOOLCHAIN_OPTIONS} variable to specify --sysroot=${STAGING_DIR_TARGET}

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:54 +02:00
Andrea Adami
bee7d3c80d klibc.bbclass: add a note about default of building -static
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-10-11 10:11:28 +01:00
Andrea Adami
a26e968915 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>
2013-02-16 05:54:59 +01:00
Andrea Adami
3e8c748620 klibc.bbclass: use klcc as CPP
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-24 12:46:43 +02:00
Andrea Adami
25c2e973e0 meta-initramfs: import klibc recipe and bbclass from meta-oe
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-22 09:40:24 +01:00