[oe-commits] John Lee : meta-toolchain-openmoko: a gross hack to put pkg-config in.

GIT User account git at amethyst.openembedded.net
Wed Dec 17 12:56:45 UTC 2008


Module: openembedded.git
Branch: john_lee/openmoko-merges
Commit: f3cabb4a7d2b4e08748fb78baca9738f34acd004
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f3cabb4a7d2b4e08748fb78baca9738f34acd004

Author: John Lee <john_lee at openembedded.org>
Date:   Thu May 15 04:23:15 2008 +0000

meta-toolchain-openmoko: a gross hack to put pkg-config in.
* We need the OE version of pkg-config that uses PKG_CONFIG_SYSROOT_DIR
  to make toolchain work properly.  However, there's no facility to
  install native stuffs in it.  First, native recipes don't generate
  ipkg.  Second, native feed does not exist in opkg-sdk.conf.  I don't
  won't to fix these yet so at the moment I just copy the native
  pkg-config into the toolchain.
* meta-toolchain-openmoko: cp native pkg-config from staging dir into
  toolchain.

---

 packages/meta/meta-toolchain-openmoko.bb |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/packages/meta/meta-toolchain-openmoko.bb b/packages/meta/meta-toolchain-openmoko.bb
index b7e5626..e5c219d 100644
--- a/packages/meta/meta-toolchain-openmoko.bb
+++ b/packages/meta/meta-toolchain-openmoko.bb
@@ -1,7 +1,11 @@
-PR = "r1"
+require meta-toolchain.bb
+
+DEPENDS += "pkgconfig-native"
+PR = "r1.01"
+
+SDK_SUFFIX = "toolchain-openmoko"
 
 TOOLCHAIN_TARGET_TASK = "task-openmoko-toolchain-target"
 TOOLCHAIN_HOST_TASK = "task-openmoko-toolchain-host"
 
-require meta-toolchain.bb
-SDK_SUFFIX = "toolchain-openmoko"
+POPULATE_SDK_EXTRA_TASK = "cp ${STAGING_BINDIR_NATIVE}/pkg-config ${SDK_OUTPUT}/${bindir}"





More information about the Openembedded-commits mailing list