summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2012-03-04 23:16:08 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-03-06 22:05:46 (GMT)
commitb5410b6a19db7ef75af8df2fa5659c539ad37c47 (patch)
tree79f256b041ecb769588c945c7adbfa0b2fc97165
parentdc0589b7d6aa057cad083370cb3d9b5547be60e0 (diff)
downloadbuildroot-b5410b6a19db7ef75af8df2fa5659c539ad37c47.tar.gz
buildroot-b5410b6a19db7ef75af8df2fa5659c539ad37c47.tar.bz2
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>
-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 d387abd..16635dc 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 be6daeb..94f39aa 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)