summaryrefslogtreecommitdiff
path: root/package/dbus
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-11-25 14:49:45 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-11-25 14:49:45 +0000
commit38b99b0381a468b77264dadb6252b0aafa6aefb3 (patch)
treeff54cfe7afd590984c4f3870330390f49f06bc07 /package/dbus
parente1498416ac16cda49d338795be3760884d476d1e (diff)
Fix dependency loop in dbus
Diffstat (limited to 'package/dbus')
-rw-r--r--package/dbus/Config.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/package/dbus/Config.in b/package/dbus/Config.in
index 431c2d90e..081ff632b 100644
--- a/package/dbus/Config.in
+++ b/package/dbus/Config.in
@@ -1,11 +1,15 @@
config BR2_PACKAGE_DBUS
bool "dbus"
default n
+ depends on BR2_PACKAGE_EXPAT || BR2_PACKAGE_LIBXML2
help
The D-Bus message bus system.
http://www.freedesktop.org/wiki/Software/dbus
+comment "dbus not available (need expat or libxml2)
+ depends on !BR2_PACKAGE_EXPAT && !BR2_PACKAGE_LIBXML2
+
choice
prompt "XML library to use"
depends BR2_PACKAGE_DBUS
@@ -17,11 +21,11 @@ choice
Expat is significant smaller.
config BR2_DBUS_EXPAT
- bool "Expat"
- select BR2_PACKAGE_EXPAT
+ bool "Expat"
+ depends on BR2_PACKAGE_EXPAT
config BR2_DBUS_LIBXML2
- bool "libxml2"
- select BR2_PACKAGE_LIBXML2
+ bool "libxml2"
+ depends on BR2_PACKAGE_LIBXML2
endchoice