summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-12 11:34:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-13 08:27:17 +0000
commitc546cced50ce8b72fe55f9a7cfe7fdb23c51d1ad (patch)
treea7203d40890192ed4b8911d969d8a332a7e1a87f /meta/classes
parent2749ba318bf322cb5014689532372473004e92b9 (diff)
downloadopenembedded-core-c546cced50ce8b72fe55f9a7cfe7fdb23c51d1ad.tar.gz
openembedded-core-c546cced50ce8b72fe55f9a7cfe7fdb23c51d1ad.tar.bz2
openembedded-core-c546cced50ce8b72fe55f9a7cfe7fdb23c51d1ad.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/autotools.bbclass5
1 files changed, 2 insertions, 3 deletions
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 <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)