autotools: Fix warning for odctools-crosssdk
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Aug 2014 08:47:33 +0000 (09:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Aug 2014 11:40:40 +0000 (12:40 +0100)
odcctools-crosssdk doesn't use the suffixed naming the rest of crosssdk does
and this results in a annoying build warning. Avoid this.

(From OE-Core rev: b6b66f987168615598c980996a1692ca5753b4eb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass

index 2136504..569b2e5 100644 (file)
@@ -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)