aboutsummaryrefslogtreecommitdiff
path: root/package/expat
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-03-18 19:19:10 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-03-18 19:19:10 +0000
commit77754571b2f327636ce0072cfabc9ce0c9a6ad86 (patch)
tree56fc2d3552653caaa20ee7577b1a04375f80bf28 /package/expat
parent344d59d788d697f4f6704dd920cad615318e47be (diff)
downloadbuildroot-77754571b2f327636ce0072cfabc9ce0c9a6ad86.tar.gz
buildroot-77754571b2f327636ce0072cfabc9ce0c9a6ad86.tar.bz2
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.
Diffstat (limited to 'package/expat')
-rw-r--r--package/expat/Config.in1
-rw-r--r--package/expat/expat.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/package/expat/Config.in b/package/expat/Config.in
index f82700a01b..4a437abe8e 100644
--- a/package/expat/Config.in
+++ b/package/expat/Config.in
@@ -2,7 +2,6 @@
config BR2_PACKAGE_EXPAT
bool"expat"
- select BR2_PACKAGE_PKGCONFIG
help
The Expat XML Parser.
diff --git a/package/expat/expat.mk b/package/expat/expat.mk
index b8624b7727..4028a8f082 100644
--- a/package/expat/expat.mk
+++ b/package/expat/expat.mk
@@ -16,7 +16,7 @@ EXPAT_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) installlib
EXPAT_CONF_OPT = --enable-shared
-EXPAT_DEPENDENCIES = uclibc pkgconfig
+EXPAT_DEPENDENCIES = uclibc host-pkgconfig
$(eval $(call AUTOTARGETS,package,expat))