From: Arnout Vandecappelle (Essensium/Mind) Date: Sun, 4 Mar 2012 23:16:08 +0000 (+0100) Subject: gpsd: dbus interface requires dbus-glib X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5410b6a19db7ef75af8df2fa5659c539ad37c47;p=buildroot.git 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 --- diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in index d387abdd91..16635dc0db 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 be6daeb8ad..94f39aaa6a 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)