[oe] RFC: "Virtual" native and sdk recipes

Tom Rini trini at kernel.crashing.org
Sat Jan 10 19:06:27 UTC 2009


On Sat, Jan 10, 2009 at 08:33:13AM -0700, Tom Rini wrote:
> On Fri, Jan 09, 2009 at 12:54:50AM +0000, Richard Purdie wrote:
> > On Fri, 2009-01-02 at 01:11 +0000, Richard Purdie wrote:
> > > I just had a look through the trini/canadian-sdk branch and there are
> > > bits I like and bits I dislike. I'll try and provide some feedback in
> > > due course with a view to getting the less controversial bits merged. I
> > > have some tweaks in poky to do with dynamic library extension handling
> > > for example (from playing with darwin targets) where it would pay us to
> > > find a common solution.
> > 
> > Sorry for the delayed feedback, what I've looked at so far follows
> > below. It was easiest to extract some patches from your tree and make
> > some commits of my own so these are in:
> > 
> > http://git.openembedded.net/?p=openembedded.git;a=shortlog;h=refs/heads/rpurdie/canadian-sofar
> 
> This appears to break, DISTRO=angstrom-2008.1 MACHINE=efika bitbake
> meta-toolchain-sbox:

Found it!  The following is needed (I'll push to your branch shortly):

diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 3e32830..3a2cadc 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -383,12 +383,11 @@ def package_qa_check_staged(path,d):
 
     installed = "installed=yes"
     iscrossnative = False
+    pkgconfigcheck = tmpdir
     for s in ['cross', 'native', 'canadian-cross', 'canadian-native']:
         if bb.data.inherits_class(s, d):
             pkgconfigcheck = workdir
             iscrossnative = True
-    else:
-        pkgconfigcheck = tmpdir
 
     # find all .la and .pc files
     # read the content

-- 
Tom Rini




More information about the Openembedded-devel mailing list