c312adc985
D-Bus requires an XML library, expat or libxml2. There already is a choice between them in the config menu, but it requires the user to first select one of the libraries, and then select dbus. With this patch, the choice automatically selects the XML library. Note that this removes the automatic choice of libxml2 for dbus if libxml2 had already been selected, i.e. in that case both libxml2 and expat will be selected unless the user takes action. An alternative would be to remove the choice completely, and to take the path of bluez-utils: select BR2_PACKAGE_EXPAT if !BR2_PACKAGE_DBUS_LIBXML2 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
26 lines
519 B
Plaintext
26 lines
519 B
Plaintext
config BR2_PACKAGE_DBUS
|
|
bool "dbus"
|
|
help
|
|
The D-Bus message bus system.
|
|
|
|
http://www.freedesktop.org/wiki/Software/dbus
|
|
|
|
choice
|
|
prompt "XML library to use"
|
|
depends on BR2_PACKAGE_DBUS
|
|
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
|