meta-angstrom: clean up libc preferred providers a bit

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-01-14 13:07:50 +01:00
parent e91d59a87a
commit eb713ede6d
2 changed files with 17 additions and 4 deletions

View File

@@ -32,6 +32,19 @@ PSTAGE_EXTRAPATH = "${LIBC}"
CACHE = "${TMPDIR}/cache/${LIBC}/${MACHINE}"
DEPLOY_DIR = "${TMPDIR}/deploy/${LIBC}"
# The things *libc can provide.
PREFERRED_PROVIDER_virtual/libc = "${ANGSTROMLIBC}"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${ANGSTROMLIBC}-initial"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${ANGSTROMLIBC}"
# And the same as above for the nativesdk
PREFERRED_PROVIDER_virtual/libc-nativesdk = "${ANGSTROMLIBC}-nativesdk"
PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk = "${ANGSTROMLIBC}-initial-nativesdk"
PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-for-gcc-nativesdk = "${ANGSTROMLIBC}-nativesdk"
PREFERRED_PROVIDER_linux-libc-headers-nativesdk = "linux-libc-headers-nativesdk"
require conf/distro/include/angstrom-${LIBC}.inc
# Set some java bits

View File

@@ -4,11 +4,11 @@ OVERRIDES =. "libc-glibc:"
# The things eglibc can provide. We default to wanting eglibc to provide them.
PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc"
PREFERRED_PROVIDER_virtual/libintl ?= "eglibc"
PREFERRED_PROVIDER_virtual/libc = "eglibc"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "eglibc-initial"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "eglibc"
PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-for-gcc-nativesdk ?= "eglibc-nativesdk"
# And the same as above for the nativesdk
PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk"
PREFERRED_PROVIDER_virtual/libintl-nativesdk ?= "eglibc-nativesdk"
# eglibc is configured for OLDEST_KERNEL kernel version, so we set minimal
# sane versions there