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/libdaemon/Config.in | 1 - package/libdaemon/libdaemon.mk | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'package/libdaemon') diff --git a/package/libdaemon/Config.in b/package/libdaemon/Config.in index 2c5c049fa3..69432630d6 100644 --- a/package/libdaemon/Config.in +++ b/package/libdaemon/Config.in @@ -1,6 +1,5 @@ config BR2_PACKAGE_LIBDAEMON bool "libdaemon" - select BR2_PACKAGE_PKGCONFIG help libdaemon is a lightweight C library that eases the writing of UNIX daemons. diff --git a/package/libdaemon/libdaemon.mk b/package/libdaemon/libdaemon.mk index abc1556cb9..b38861a820 100644 --- a/package/libdaemon/libdaemon.mk +++ b/package/libdaemon/libdaemon.mk @@ -13,6 +13,6 @@ LIBDAEMON_INSTALL_TARGET:=YES LIBDAEMON_CONF_ENV:=ac_cv_func_setpgrp_void=no LIBDAEMON_CONF_OPT:=--disable-lynx -LIBDAEMON_DEPENDENCIES:=uclibc pkgconfig +LIBDAEMON_DEPENDENCIES:=uclibc host-pkgconfig $(eval $(call AUTOTARGETS,package,libdaemon)) -- cgit v1.2.1