diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-19 18:08:35 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-19 18:08:35 +0000 |
commit | a30f6e968c766abfc3e85c51b739f6509276e74b (patch) | |
tree | 843582ee88e85c0536ee151a53785ad26e86c79a | |
parent | 8d5f122cbb55105de85394969ab5b44c9d888e69 (diff) | |
download | poky-a30f6e968c766abfc3e85c51b739f6509276e74b.tar.gz |
base.bbclass: Don't inherit siteinfo in base.bbclass [based on an OE patch from Chris Larson]
-rw-r--r-- | meta/classes/autotools.bbclass | 6 | ||||
-rw-r--r-- | meta/classes/siteinfo.bbclass | 8 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-xscale.inc | 2 | ||||
-rw-r--r-- | meta/packages/openssl/openssl.inc | 2 | ||||
-rw-r--r-- | meta/packages/perl/perl_5.8.8.bb | 2 |
5 files changed, 11 insertions, 9 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 4f56b33c28..3853268a77 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -27,6 +27,12 @@ DEPENDS_prepend = "${@autotools_dep_prepend(d)}" | |||
27 | DEPENDS_virtclass-native_prepend = "${@autotools_dep_prepend(d)}" | 27 | DEPENDS_virtclass-native_prepend = "${@autotools_dep_prepend(d)}" |
28 | DEPENDS_virtclass-nativesdk_prepend = "${@autotools_dep_prepend(d)}" | 28 | DEPENDS_virtclass-nativesdk_prepend = "${@autotools_dep_prepend(d)}" |
29 | 29 | ||
30 | inherit siteinfo | ||
31 | |||
32 | # Space separated list of shell scripts with variables defined to supply test | ||
33 | # results for autoconf tests we cannot run at build time. | ||
34 | export CONFIG_SITE = "${@siteinfo_get_files(d)}" | ||
35 | |||
30 | acpaths = "default" | 36 | acpaths = "default" |
31 | EXTRA_AUTORECONF = "--exclude=autopoint" | 37 | EXTRA_AUTORECONF = "--exclude=autopoint" |
32 | 38 | ||
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 7b012b7ba7..8b7d3dfcf6 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass | |||
@@ -100,14 +100,6 @@ def siteinfo_get_files(d): | |||
100 | bb.debug(1, "SITE files " + sitefiles); | 100 | bb.debug(1, "SITE files " + sitefiles); |
101 | return sitefiles | 101 | return sitefiles |
102 | 102 | ||
103 | # | ||
104 | # Export CONFIG_SITE to the enviroment. The autotools will make use | ||
105 | # of this to determine where to load in variables from. This is a | ||
106 | # space seperate list of shell scripts processed in the order listed. | ||
107 | # | ||
108 | export CONFIG_SITE = "${@siteinfo_get_files(d)}" | ||
109 | |||
110 | |||
111 | def siteinfo_get_endianess(d): | 103 | def siteinfo_get_endianess(d): |
112 | info = get_siteinfo_list(d) | 104 | info = get_siteinfo_list(d) |
113 | if 'endian-little' in info: | 105 | if 'endian-little' in info: |
diff --git a/meta/conf/machine/include/tune-xscale.inc b/meta/conf/machine/include/tune-xscale.inc index 134758621e..4f96814a72 100644 --- a/meta/conf/machine/include/tune-xscale.inc +++ b/meta/conf/machine/include/tune-xscale.inc | |||
@@ -1,5 +1,7 @@ | |||
1 | FEED_ARCH = "armv5te" | 1 | FEED_ARCH = "armv5te" |
2 | 2 | ||
3 | INHERIT += "siteinfo" | ||
4 | |||
3 | TARGET_CC_ARCH = "-march=armv5te -mtune=xscale" | 5 | TARGET_CC_ARCH = "-march=armv5te -mtune=xscale" |
4 | TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale" | 6 | TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale" |
5 | BASE_PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" | 7 | BASE_PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" |
diff --git a/meta/packages/openssl/openssl.inc b/meta/packages/openssl/openssl.inc index fd0bbba58c..5663e1cf94 100644 --- a/meta/packages/openssl/openssl.inc +++ b/meta/packages/openssl/openssl.inc | |||
@@ -20,7 +20,7 @@ export AS = "${CC} -c" | |||
20 | 20 | ||
21 | PARALLEL_MAKE = "" | 21 | PARALLEL_MAKE = "" |
22 | 22 | ||
23 | inherit pkgconfig | 23 | inherit pkgconfig siteinfo |
24 | 24 | ||
25 | PACKAGES =+ "libcrypto libssl" | 25 | PACKAGES =+ "libcrypto libssl" |
26 | FILES_libcrypto = "${libdir}/libcrypto.so.*" | 26 | FILES_libcrypto = "${libdir}/libcrypto.so.*" |
diff --git a/meta/packages/perl/perl_5.8.8.bb b/meta/packages/perl/perl_5.8.8.bb index 6d7664ed7c..1537a46b5d 100644 --- a/meta/packages/perl/perl_5.8.8.bb +++ b/meta/packages/perl/perl_5.8.8.bb | |||
@@ -38,6 +38,8 @@ SRC_URI = "ftp://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ | |||
38 | file://config.sh-64-le \ | 38 | file://config.sh-64-le \ |
39 | file://config.sh-64-be" | 39 | file://config.sh-64-be" |
40 | 40 | ||
41 | inherit siteinfo | ||
42 | |||
41 | # Where to find the native perl | 43 | # Where to find the native perl |
42 | HOSTPERL = "${STAGING_BINDIR_NATIVE}/perl${PV}" | 44 | HOSTPERL = "${STAGING_BINDIR_NATIVE}/perl${PV}" |
43 | 45 | ||