base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch from Chris Larson]
This commit is contained in:
parent
8d5f122cbb
commit
a30f6e968c
|
@ -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"
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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']}"
|
||||
|
|
|
@ -20,7 +20,7 @@ export AS = "${CC} -c"
|
|||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
inherit pkgconfig
|
||||
inherit pkgconfig siteinfo
|
||||
|
||||
PACKAGES =+ "libcrypto libssl"
|
||||
FILES_libcrypto = "${libdir}/libcrypto.so.*"
|
||||
|
|
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue