Skip to contentSkip to conversation

autotools: Fix warning for odctools-crosssdk

PATCH In review Richard Purdie 2 participants 3 messages Aug 2, 2014 – Aug 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autotools: Fix warning for odctools-crosssdk

odcctools-crosssdk doesn't use the suffixed naming the rest of crosssdk does and this results in a annoying build warning. Avoid this.

meta/classes/autotools.bbclass +1 -1
index 2136504..569b2e5 100644
@@ -187,7 +187,7 @@ python autotools_copy_aclocals () {
             manifest = d.expand("${SSTATE_MANIFESTS}/manifest-${BUILD_ARCH}-%s.populate_sysroot" % c)
         elif c.startswith("nativesdk-"):
             manifest = d.expand("${SSTATE_MANIFESTS}/manifest-${SDK_ARCH}_${SDK_OS}-%s.populate_sysroot" % c)
-        elif "-cross-" in c or "-crosssdk-" in c:
+        elif "-cross-" in c or "-crosssdk" in c:
             continue
         else:
             manifest = d.expand("${SSTATE_MANIFESTS}/manifest-${MACHINE}-%s.populate_sysroot" % c)
#1 lore raw
Quoted 2 lines · Richard Purdie

odcctools-crosssdk doesn't use the suffixed naming the rest of crosssdk does and this results in a annoying build warning. Avoid this.

why does odcctools behave like that.

#2 lore raw
Quoted 6 lines · Khem Raj
Quoted 2 lines · Richard Purdie

odcctools-crosssdk doesn't use the suffixed naming the rest of crosssdk does and this results in a annoying build warning. Avoid this.

why does odcctools behave like that.

This is the way crosssdk used to behave, it doesn't have some of the changes we made to cross(sdk) in the core. Given the way its used, there isn't much point in updating it though.

Cheers,

Richard