Commit Graph

14 Commits

Author SHA1 Message Date
Richard Purdie bcc73d26dd pkgconfig: Drop automatic pkgconfig RDEPENDS
Just because a recipe uses pkgconfig, it doesn't mean that it's -dev
package should RDEPENDS on pkgconfig. I can understand the thinking
that lead to this but it makes sense to be able to install the package
when pkgconfig hasn't been built.

Currently you can also get failures where pkgconfig wasn't built yet
a -dev package is included that depends on it leading to rootfs failures.

I considered making this a RRECOMMENDS but it should probably be an
RSUGGESTS at best given the tenuous pkgconfig requirement any given
-dev package has.

(From OE-Core rev: 8f41b69578eef5ea750e8f93dcd9d37375ce7d88)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18 12:13:12 +01:00
Richard Purdie ad23395cd1 nativesdk: Switch to using nativesdk as a prefix, not a suffix
As discussed on the mailing lists, using a suffix to package names is
hard and has lead to many recipes having to do PKGSUFFIX games. Its
looking extremely hard to scale nativesdk much further without hacking
many recipes.

By comparison, using a prefix like multilib does works much better and
doesn't involve "hacking" as many recipes. This change converts nativesdk
to use a prefix using the existing multilib infrastructure.

(From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-02 05:52:06 -07:00
Lianhao Lu 15e797ccdb pkgconfig.bbclass: corrected dependency for -nativesdk.
For -nativesdk, the dependency should be pkgconfig-nativesdk instead of
pkgconfig.

(From OE-Core rev: 36c0d1fdc71f9c63699049911aeddb07a746ca4a)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-31 17:59:09 +01:00
Richard Purdie 76640582e8 pkgconfig: Ensure pkgconfig RDEPENDS are tracked
Currently, pkgconfig dependencies get added to -dev packages which install
pc files however nothing in the system makes bitbake aware of these
dependencies so images can fail with pkgconfig being missing.

This change explictly adds in the pkgconfig RDEPENDS to the -dev packages
and hence makes bitbake aware of the dependency.

(From OE-Core rev: 23e773eb8b70a5e36270b2e6415512b7dc4f1e05)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-01 15:15:14 +00:00
Richard Purdie b8b7652815 pkgconfig.bbclass: No longer default to pkgconfig_stage code (breaks libdrm)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-07 15:13:56 +01:00
Richard Purdie 5dd9134d5e pkgconfig.bbclass: Fix typo
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-12 17:17:04 +01:00
Richard Purdie 1247e2bba2 pkgconfig.bbclass: Split out the staging function into its own class (pkgconfig_stage)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-12 16:02:13 +01:00
Richard Purdie f187869891 pkgconfig.bbclass: Drop strange unneeded inherit base
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-11 11:55:24 +01:00
Richard Purdie 7fc5d6eeea pkgconfig: Switch to using sysroot simplifying pkgconfig files. Requires a full rebuild.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3125 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-12 11:30:16 +00:00
Richard Purdie 4285b621bf pkgconfig.bbclass: Fix hardcoded staging layout references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3121 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-12 11:19:54 +00:00
Marcin Juszkiewicz 8e5bf72f00 pkgconfig.bbclass: create proper directory
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1900 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-09 08:52:16 +00:00
Richard Purdie 9c1cf5640f bitbake.conf: PKG_CONFIG_PATH is a PATH like variable and may contain multiple entries so create PKG_CONFIG_DIR as a path to install to.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1731 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-16 13:15:35 +00:00
Richard Purdie 93a8d0662e classes: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@651 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-27 16:01:33 +00:00
Richard Purdie b2f192faab Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-21 10:10:31 +00:00