mirror of
https://git.yoctoproject.org/poky
synced 2026-06-11 16:30:23 +00:00
autotools.bbclass: use ordinary append for file-checksums update
Commit 29daffc2410f06f36b779d5bf1fd1ef6e900ca8f added an anonymous python function to append the site file dependencies for do_configure. This causes any recipe that inherits allarch after autotools to end up with a different set of file checksums for each machine, since the anonymous python would get processed before the TARGET_ARCH changes in allarch. Use an ordinary += assignment to fix this. (From OE-Core rev: 60af398f520c938600205ef40e27f90e5342209c) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a6f6bcb9db
commit
d6a0c61432
@@ -149,10 +149,7 @@ python autotools_aclocals () {
|
||||
d.setVar("CONFIG_SITE", " ".join(sitefiles))
|
||||
}
|
||||
|
||||
python () {
|
||||
sitefiles, searched = siteinfo_get_files(d, sysrootcache=False)
|
||||
d.appendVarFlag("do_configure", "file-checksums", " " + " ".join(searched))
|
||||
}
|
||||
do_configure[file-checksums] += "${@' '.join(siteinfo_get_files(d, sysrootcache=False)[1])}"
|
||||
|
||||
CONFIGURE_FILES = "${S}/configure.in ${S}/configure.ac ${S}/config.h.in ${S}/acinclude.m4 Makefile.am"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user