Currently we fall back to glibc if LIBC is not set.
We now will use eglibc as default lib for minimal
and sane-toolchain
Signed-off-by: Khem Raj <raj.khem@gmail.com>
# eglibc:
# [23:00] oxo: glibc (any version) on sparc does not like (repeat me) "-Os"
+TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
+
FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os"
FULL_OPTIMIZATION_pn-perl = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1"
FULL_OPTIMIZATION_sparc = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
#############################################################################
# Can be "glibc", "eglibc" or "uclibc"
-LIBC ?= "glibc"
+LIBC ?= "eglibc"
require conf/distro/include/${LIBC}.inc
PSTAGE_EXTRAPATH = "${LIBC}"
require conf/distro/include/sane-toolchain-${LIBC}.inc
#############################################################################
# TOOLCHAIN
#############################################################################
-LIBC ?= "glibc"
+LIBC ?= "eglibc"
require conf/distro/include/sane-toolchain.inc
#############################################################################