gpsd: dbus interface requires dbus-glib

gpsd uses dbus-glib as the dbus interface, so it should only be built if
libglib2 has been selected.  To simplify things, build dbus support only
if dbus-glib is selected.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Arnout Vandecappelle (Essensium/Mind) 2012-03-05 00:16:08 +01:00 committed by Peter Korsgaard
parent dc0589b7d6
commit b5410b6a19
2 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,8 @@ config BR2_PACKAGE_GPSD
making all data on the location/course/velocity of the sensors
available to be queried on TCP port 2947 of the host computer.
The D-Bus interface is included if dbus-glib is enabled.
http://gpsd.berlios.de/
config BR2_PACKAGE_GPSD_DEVICES

View File

@ -30,9 +30,9 @@ ifeq ($(BR2_PACKAGE_LIBUSB),y)
GPSD_DEPENDENCIES += libusb
endif
ifeq ($(strip $(BR2_PACKAGE_DBUS)),y)
ifeq ($(BR2_PACKAGE_DBUS_GLIB),y)
GPSD_CONF_OPT += --enable-dbus
GPSD_DEPENDENCIES += dbus dbus-glib
GPSD_DEPENDENCIES += dbus-glib
endif
ifeq ($(BR2_PACKAGE_NCURSES),y)