* [PATCH] autotools: Correct dependency search logic error
@ 2016-02-12 11:34 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-02-12 11:34 UTC (permalink / raw)
To: openembedded-core
We go to the effort of finding the value of start, we should then use it
rather than relying on the value of dep being preserved from the previous
loop. Took me far too long to notice this issue when changing the code.
Also drop an unused variable.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index abbc782..a5f2bff 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -160,8 +160,8 @@ python autotools_copy_aclocals () {
# We need to find configure tasks which are either from <target> -> <target>
# or <native> -> <native> but not <target> -> <native> unless they're direct
# dependencies. This mirrors what would get restored from sstate.
- done = [dep]
- next = [dep]
+ done = [start]
+ next = [start]
while next:
new = []
for dep in next:
@@ -188,7 +188,6 @@ python autotools_copy_aclocals () {
#bb.warn(str(configuredeps2))
cp = []
- siteconf = []
for c in configuredeps:
if c.endswith("-native"):
manifest = d.expand("${SSTATE_MANIFESTS}/manifest-${BUILD_ARCH}-%s.populate_sysroot" % c)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-12 11:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-12 11:34 [PATCH] autotools: Correct dependency search logic error Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox