From 77754571b2f327636ce0072cfabc9ce0c9a6ad86 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 18 Mar 2009 19:19:10 +0000 Subject: pkgconfig: add pkgconfig package for target The host versions shouldn't be visible in Kconfig, so remove the reference to BR2_PACKAGE_PKGCONFIG everywhere and prefix the host targets with host-. At the same time add pkgconfig for the target (E.G. for development) and let BR2_PACKAGE_PKGCONFIG control that package. Notice: all defconfigs in the tree have been updated, but make sure to disable the pkgconfig package (unless you want it) if you use an external config, otherwise you'll end up with pkgconfig and glib2 in the target. --- package/dbus-glib/Config.in | 1 - package/dbus-glib/dbus-glib.mk | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'package/dbus-glib') diff --git a/package/dbus-glib/Config.in b/package/dbus-glib/Config.in index 9779da7e8..52c7e7ca4 100644 --- a/package/dbus-glib/Config.in +++ b/package/dbus-glib/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_DBUS_GLIB bool "dbus-glib" depends on BR2_PACKAGE_DBUS select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_PKGCONFIG help GLib bindings for D-Bus. diff --git a/package/dbus-glib/dbus-glib.mk b/package/dbus-glib/dbus-glib.mk index d19acdf83..f0fc017cb 100644 --- a/package/dbus-glib/dbus-glib.mk +++ b/package/dbus-glib/dbus-glib.mk @@ -23,7 +23,7 @@ DBUS_GLIB_CONF_OPT = --localstatedir=/var \ --disable-doxygen-docs \ --enable-asserts=yes -DBUS_GLIB_DEPENDENCIES = uclibc pkgconfig dbus host-dbus host-dbus-glib libglib2 +DBUS_GLIB_DEPENDENCIES = uclibc host-pkgconfig dbus host-dbus host-dbus-glib libglib2 $(eval $(call AUTOTARGETS,package,dbus-glib)) -- cgit v1.2.3