base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch from Chris Larson]

This commit is contained in:
Richard Purdie 2010-03-19 18:08:35 +00:00
parent 8d5f122cbb
commit a30f6e968c
5 changed files with 11 additions and 9 deletions

View File

@ -27,6 +27,12 @@ DEPENDS_prepend = "${@autotools_dep_prepend(d)}"
DEPENDS_virtclass-native_prepend = "${@autotools_dep_prepend(d)}"
DEPENDS_virtclass-nativesdk_prepend = "${@autotools_dep_prepend(d)}"
inherit siteinfo
# Space separated list of shell scripts with variables defined to supply test
# results for autoconf tests we cannot run at build time.
export CONFIG_SITE = "${@siteinfo_get_files(d)}"
acpaths = "default"
EXTRA_AUTORECONF = "--exclude=autopoint"

View File

@ -100,14 +100,6 @@ def siteinfo_get_files(d):
bb.debug(1, "SITE files " + sitefiles);
return sitefiles
#
# Export CONFIG_SITE to the enviroment. The autotools will make use
# of this to determine where to load in variables from. This is a
# space seperate list of shell scripts processed in the order listed.
#
export CONFIG_SITE = "${@siteinfo_get_files(d)}"
def siteinfo_get_endianess(d):
info = get_siteinfo_list(d)
if 'endian-little' in info:

View File

@ -1,5 +1,7 @@
FEED_ARCH = "armv5te"
INHERIT += "siteinfo"
TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"
BASE_PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"

View File

@ -20,7 +20,7 @@ export AS = "${CC} -c"
PARALLEL_MAKE = ""
inherit pkgconfig
inherit pkgconfig siteinfo
PACKAGES =+ "libcrypto libssl"
FILES_libcrypto = "${libdir}/libcrypto.so.*"

View File

@ -38,6 +38,8 @@ SRC_URI = "ftp://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
file://config.sh-64-le \
file://config.sh-64-be"
inherit siteinfo
# Where to find the native perl
HOSTPERL = "${STAGING_BINDIR_NATIVE}/perl${PV}"