2010-12-13 17:23:27 +00:00
|
|
|
require eglibc-common.inc
|
|
|
|
|
2011-01-18 04:50:39 +00:00
|
|
|
STAGINGCC = "gcc-cross-intermediate"
|
|
|
|
STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate"
|
|
|
|
PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:"
|
|
|
|
|
2010-08-03 01:56:04 +00:00
|
|
|
# nptl needs unwind support in gcc, which can't be built without glibc.
|
|
|
|
DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers"
|
|
|
|
#this leads to circular deps, so lets not add it yet
|
|
|
|
#RDEPENDS_ldd += " bash"
|
|
|
|
# nptl needs libgcc but dlopens it, so our shlibs code doesn't detect this
|
|
|
|
#RDEPENDS_${PN} += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}"
|
|
|
|
PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
|
|
|
|
PROVIDES += "virtual/libintl virtual/libiconv"
|
|
|
|
inherit autotools
|
|
|
|
|
|
|
|
LEAD_SONAME = "libc.so"
|
|
|
|
|
|
|
|
GLIBC_EXTRA_OECONF ?= ""
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
|
|
|
|
ARM_INSTRUCTION_SET = "arm"
|
|
|
|
|
|
|
|
PACKAGES = "glibc catchsegv sln nscd ldd localedef glibc-utils glibc-dev glibc-doc glibc-locale libsegfault glibc-extra-nss glibc-thread-db glibc-pcprofile"
|