diff options
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r-- | meta/classes/autotools.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 402ee1bf01..046e83dc9b 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -27,7 +27,7 @@ inherit siteinfo | |||
27 | 27 | ||
28 | # Space separated list of shell scripts with variables defined to supply test | 28 | # Space separated list of shell scripts with variables defined to supply test |
29 | # results for autoconf tests we cannot run at build time. | 29 | # results for autoconf tests we cannot run at build time. |
30 | export CONFIG_SITE = "${@siteinfo_get_files(d)}" | 30 | export CONFIG_SITE = "${@siteinfo_get_files(d, False)}" |
31 | 31 | ||
32 | acpaths = "default" | 32 | acpaths = "default" |
33 | EXTRA_AUTORECONF = "--exclude=autopoint" | 33 | EXTRA_AUTORECONF = "--exclude=autopoint" |
@@ -187,6 +187,7 @@ python autotools_copy_aclocals () { | |||
187 | #bb.warn(str(configuredeps2)) | 187 | #bb.warn(str(configuredeps2)) |
188 | 188 | ||
189 | cp = [] | 189 | cp = [] |
190 | siteconf = [] | ||
190 | for c in configuredeps: | 191 | for c in configuredeps: |
191 | if c.endswith("-native"): | 192 | if c.endswith("-native"): |
192 | manifest = d.expand("${SSTATE_MANIFESTS}/manifest-${BUILD_ARCH}-%s.populate_sysroot" % c) | 193 | manifest = d.expand("${SSTATE_MANIFESTS}/manifest-${BUILD_ARCH}-%s.populate_sysroot" % c) |
@@ -201,6 +202,8 @@ python autotools_copy_aclocals () { | |||
201 | for l in f: | 202 | for l in f: |
202 | if "/aclocal/" in l and l.strip().endswith(".m4"): | 203 | if "/aclocal/" in l and l.strip().endswith(".m4"): |
203 | cp.append(l.strip()) | 204 | cp.append(l.strip()) |
205 | elif "config_site.d/" in l: | ||
206 | cp.append(l.strip()) | ||
204 | except: | 207 | except: |
205 | bb.warn("%s not found" % manifest) | 208 | bb.warn("%s not found" % manifest) |
206 | 209 | ||
@@ -208,6 +211,8 @@ python autotools_copy_aclocals () { | |||
208 | t = os.path.join(aclocaldir, os.path.basename(c)) | 211 | t = os.path.join(aclocaldir, os.path.basename(c)) |
209 | if not os.path.exists(t): | 212 | if not os.path.exists(t): |
210 | os.symlink(c, t) | 213 | os.symlink(c, t) |
214 | |||
215 | d.setVar("CONFIG_SITE", siteinfo_get_files(d, False)) | ||
211 | } | 216 | } |
212 | autotools_copy_aclocals[vardepsexclude] += "MACHINE SDK_ARCH BUILD_ARCH SDK_OS BB_TASKDEPDATA" | 217 | autotools_copy_aclocals[vardepsexclude] += "MACHINE SDK_ARCH BUILD_ARCH SDK_OS BB_TASKDEPDATA" |
213 | 218 | ||