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/freetype/Config.in | 1 - package/freetype/freetype.mk | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'package/freetype') diff --git a/package/freetype/Config.in b/package/freetype/Config.in index aa5298b94..ba87aff41 100644 --- a/package/freetype/Config.in +++ b/package/freetype/Config.in @@ -1,6 +1,5 @@ config BR2_PACKAGE_FREETYPE bool "freetype" - select BR2_PACKAGE_PKGCONFIG help a free, high-quality and portable font engine. diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index 2dfd9d388..39ce0166f 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -11,7 +11,7 @@ FREETYPE_LIBTOOL_PATCH = NO FREETYPE_INSTALL_STAGING = YES FREETYPE_INSTALL_TARGET = YES FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)" -FREETYPE_DEPENDENCIES = uclibc pkgconfig $(if $(BR2_PACKAGE_ZLIB),zlib) +FREETYPE_DEPENDENCIES = uclibc host-pkgconfig $(if $(BR2_PACKAGE_ZLIB),zlib) $(eval $(call AUTOTARGETS,package,freetype)) -- cgit v1.2.3