]> code.ossystems Code Review - openembedded-core.git/commitdiff
base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch from Chris...
authorRichard Purdie <rpurdie@linux.intel.com>
Fri, 19 Mar 2010 18:08:35 +0000 (18:08 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 19 Mar 2010 18:08:35 +0000 (18:08 +0000)
meta/classes/autotools.bbclass
meta/classes/siteinfo.bbclass
meta/conf/machine/include/tune-xscale.inc
meta/packages/openssl/openssl.inc
meta/packages/perl/perl_5.8.8.bb

index 4f56b33c288f12874cab3b3a35efe596207a90a5..3853268a77ea087184453af2a37139f33d1ba882 100644 (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"
 
index 7b012b7ba77f075f19804342a2ee85f048a171fa..8b7d3dfcf6b12774340bd40815475e2c6937bf7f 100644 (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:
index 134758621e3c5984ee38debcf089ad0a6ebac119..4f96814a7212c4de0b2c2045e0c73803f52a65db 100644 (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']}"
index fd0bbba58ced2d25a61ee3c2bf3db42d45e6978d..5663e1cf94235d79a5da10423a39e6df22457b2b 100644 (file)
@@ -20,7 +20,7 @@ export AS = "${CC} -c"
 
 PARALLEL_MAKE = ""
 
-inherit pkgconfig
+inherit pkgconfig siteinfo
 
 PACKAGES =+ "libcrypto libssl"
 FILES_libcrypto = "${libdir}/libcrypto.so.*"
index 6d7664ed7c9545f61252de668bc9ad8a9bae3b97..1537a46b5dc045cf52dd12aebe01e4e9000ef167 100644 (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}"