From: Richard Purdie Date: Fri, 12 Feb 2016 11:34:07 +0000 (+0000) Subject: autotools: Correct dependency search logic error X-Git-Tag: 2016-4~912 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=c546cced50ce8b72fe55f9a7cfe7fdb23c51d1ad;p=openembedded-core.git autotools: Correct dependency search logic error 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 --- diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index abbc782549..a5f2bff1ab 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 -> # or -> but not -> 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)