summaryrefslogtreecommitdiff
path: root/package/dbus/Config.in
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2007-11-22 17:12:19 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2007-11-22 17:12:19 +0000
commit00de7fc62ff91f2e6cc3fd2ed29cc577f971335f (patch)
tree3307fedcfdb6ac7cce2bc8345c52beab1a4cedbb /package/dbus/Config.in
parente200c1b15dbe6a5918bb4bdf8ceb9f862ae2a726 (diff)
Make XML library used by D-Bus selectable instead of requiring both Expat
and libxml2.
Diffstat (limited to 'package/dbus/Config.in')
-rw-r--r--package/dbus/Config.in22
1 files changed, 20 insertions, 2 deletions
diff --git a/package/dbus/Config.in b/package/dbus/Config.in
index 7e668ce84..431c2d90e 100644
--- a/package/dbus/Config.in
+++ b/package/dbus/Config.in
@@ -1,9 +1,27 @@
config BR2_PACKAGE_DBUS
bool "dbus"
default n
- select BR2_PACKAGE_EXPAT
- select BR2_PACKAGE_LIBXML2
help
The D-Bus message bus system.
http://www.freedesktop.org/wiki/Software/dbus
+
+choice
+ prompt "XML library to use"
+ depends BR2_PACKAGE_DBUS
+ default BR2_DBUS_LIBXML2 if BR2_PACKAGE_LIBXML2
+ default BR2_DBUS_EXPAT
+ help
+ Select the XML library to use with D-Bus. Select Expat
+ unless you have specific reasons for using libxml2 as
+ Expat is significant smaller.
+
+ config BR2_DBUS_EXPAT
+ bool "Expat"
+ select BR2_PACKAGE_EXPAT
+
+ config BR2_DBUS_LIBXML2
+ bool "libxml2"
+ select BR2_PACKAGE_LIBXML2
+
+endchoice