summaryrefslogtreecommitdiff
path: root/package/gpsd
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2012-03-05 00:16:08 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-03-06 23:05:46 +0100
commitb5410b6a19db7ef75af8df2fa5659c539ad37c47 (patch)
tree79f256b041ecb769588c945c7adbfa0b2fc97165 /package/gpsd
parentdc0589b7d6aa057cad083370cb3d9b5547be60e0 (diff)
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>
Diffstat (limited to 'package/gpsd')
-rw-r--r--package/gpsd/Config.in2
-rw-r--r--package/gpsd/gpsd.mk4
2 files changed, 4 insertions, 2 deletions
diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in
index d387abdd9..16635dc0d 100644
--- a/package/gpsd/Config.in
+++ b/package/gpsd/Config.in
@@ -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
diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk
index be6daeb8a..94f39aaa6 100644
--- a/package/gpsd/gpsd.mk
+++ b/package/gpsd/gpsd.mk
@@ -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)