Remove unused pinnings, use linaro toolchains for arm including gdb use OE-Core toolchain for providing native and crossdk components of toolchain. this helps to choose linaro or OE-Core toolchain in a single tmpdir and per architecture still being able to share common components. We really dont care who provides native and crossdk components anyway the arm code improvements that come from linaro gcc is paramount for crossgcc and gcc on target and candian-gcc in case of SDK where we will use it anyway Update comments to match current state of affairs beautify the files a bit Signed-off-by: Khem Raj <raj.khem@gmail.com>
24 lines
953 B
PHP
24 lines
953 B
PHP
# eglibc:
|
|
PNBLACKLIST[libiconv] = "the eglibc provided iconv library is used"
|
|
|
|
TARGET_OS = "linux"
|
|
|
|
# sane-toolchain.inc has this, and explains the GNU and ABI suffices:
|
|
#TARGET_OS = "${@compute_os_portion_of_target_triplet(d)}"
|
|
|
|
TARGET_OS .= "${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
|
|
TARGET_OS .= "${@['','-gnuspe'][bb.data.getVar('TUNE_PKGARCH',d,1) in ['ppce500', 'ppce500v2']]}"
|
|
|
|
# perl has some problems, see http://bugs.openembedded.net/show_bug.cgi?id=1616
|
|
# [23:00] oxo: glibc (any version) on sparc does not like (repeat me) "-Os"
|
|
|
|
FULL_OPTIMIZATION_pn-perl = "-O1 -g"
|
|
|
|
TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel', 'mips64', 'mips64el']]}"
|
|
|
|
# We use gold as default linker for arm/x86 on eglibc based images
|
|
DISTRO_FEATURES_append_arm = " ld-is-gold"
|
|
DISTRO_FEATURES_append_x86 = " ld-is-gold"
|
|
DISTRO_FEATURES_append_x86-64 = " ld-is-gold"
|
|
|