> -----Original Message----- > From: Chase Maupin [mailto:chasemaupi...@gmail.com] > Sent: Friday, October 15, 2010 3:32 PM > To: openembedded-devel@lists.openembedded.org > Cc: Maupin, Chase > Subject: [PATCH 2/2] Fix class OVERRIDES order > > * Changed the OVERRIDES settings in the classes to use the new > ordering. > > Signed-off-by: Chase Maupin <chase.mau...@ti.com>
I was a little unsure of these which is why I put them in a separate patch. Should the virtclass overrides be high or low priority? Please feel free to correct me, but I wanted to make sure that we didn't override "local" > --- > classes/native.bbclass | 2 +- > classes/nativesdk.bbclass | 2 +- > classes/sdk.bbclass | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/classes/native.bbclass b/classes/native.bbclass > index dcedff2..2e52bfc 100644 > --- a/classes/native.bbclass > +++ b/classes/native.bbclass > @@ -94,7 +94,7 @@ DEPENDS_virtclass-native ?= "${ORIG_DEPENDS}" > > def native_virtclass_add_override(d): > if "native" in (bb.data.getVar('BBCLASSEXTEND', d, True) or ""): > - bb.data.setVar("OVERRIDES", bb.data.getVar("OVERRIDES", d, False) > + ":virtclass-native", d) > + bb.data.setVar("OVERRIDES", "virtclass-native:" + > bb.data.getVar("OVERRIDES", d, False), d) > > OVERRIDES .= "$...@native_virtclass_add_override(d)}" > > diff --git a/classes/nativesdk.bbclass b/classes/nativesdk.bbclass > index f3f9930..6f21534 100644 > --- a/classes/nativesdk.bbclass > +++ b/classes/nativesdk.bbclass > @@ -52,7 +52,7 @@ export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" > ORIG_DEPENDS := "${DEPENDS}" > DEPENDS_virtclass-nativesdk ?= "${ORIG_DEPENDS}" > > -OVERRIDES .= ":virtclass-nativesdk" > +OVERRIDES =. "virtclass-nativesdk:" > > python __anonymous () { > pn = bb.data.getVar("PN", d, True) > diff --git a/classes/sdk.bbclass b/classes/sdk.bbclass > index c8fa076..1ad8951 100644 > --- a/classes/sdk.bbclass > +++ b/classes/sdk.bbclass > @@ -67,4 +67,4 @@ FILES_${PN}-dbg += "${prefix}/.debug \ > > export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" > > -OVERRIDES .= ":virtclass-sdk" > +OVERRIDES =. "virtclass-sdk:" > -- > 1.7.0.4 _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel