Patchwork autotools: Fix warning for odctools-crosssdk

login
register
mail settings
Submitter Richard Purdie
Date Aug. 2, 2014, 8:47 a.m.
Message ID <1406969253.6981.14.camel@ted>
Download mbox | patch
Permalink /patch/77141/
State Accepted
Commit 55379f29a6db83f035eb96ed94d217b7a108e00f
Headers show

Comments

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>
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

Patch

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)