autotools: Fix warning for odctools-crosssdk

Submitted by Richard Purdie on Aug. 2, 2014, 8:47 a.m.

Details

Message ID 1406969253.6981.14.camel@ted
State Accepted
Commit b6b66f987168615598c980996a1692ca5753b4eb
Headers show

Commit Message

Richard Purdie Aug. 2, 2014, 8:47 a.m.
odcctools-crosssdk doesn't use the suffixed naming the rest of crosssdk does
and this results in a annoying build warning. Avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Patch hide | download patch | download mbox

diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 2136504..569b2e5 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -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)

Comments

Khem Raj Aug. 2, 2014, 5:51 p.m.
On Sat, Aug 2, 2014 at 1:47 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> 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.
Richard Purdie Aug. 3, 2014, 11:42 a.m.
On Sat, 2014-08-02 at 10:51 -0700, Khem Raj wrote:
> On Sat, Aug 2, 2014 at 1:47 AM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > 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