From b5410b6a19db7ef75af8df2fa5659c539ad37c47 Mon Sep 17 00:00:00 2001 From: "Arnout Vandecappelle (Essensium/Mind)" Date: Mon, 5 Mar 2012 00:16:08 +0100 Subject: 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) Signed-off-by: Peter Korsgaard --- package/gpsd/Config.in | 2 ++ package/gpsd/gpsd.mk | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'package') 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) -- cgit v1.2.3