summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/autotools.bbclass6
-rw-r--r--meta/classes/siteinfo.bbclass8
2 files changed, 6 insertions, 8 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)}"
27DEPENDS_virtclass-native_prepend = "${@autotools_dep_prepend(d)}" 27DEPENDS_virtclass-native_prepend = "${@autotools_dep_prepend(d)}"
28DEPENDS_virtclass-nativesdk_prepend = "${@autotools_dep_prepend(d)}" 28DEPENDS_virtclass-nativesdk_prepend = "${@autotools_dep_prepend(d)}"
29 29
30inherit 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.
34export CONFIG_SITE = "${@siteinfo_get_files(d)}"
35
30acpaths = "default" 36acpaths = "default"
31EXTRA_AUTORECONF = "--exclude=autopoint" 37EXTRA_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#
108export CONFIG_SITE = "${@siteinfo_get_files(d)}"
109
110
111def siteinfo_get_endianess(d): 103def 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: