Commit 5a8f4d78 authored by Frederik Pasch's avatar Frederik Pasch Committed by Peter Korsgaard
Browse files

gpsd: Only build qt support if qt-network is enabled

parent 9c690334
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

	Fixes all over the tree.

	Updated/fixed packages: bash, bind, busybox, libglib2,
	Updated/fixed packages: bash, bind, busybox, gpsd, libglib2,
	libcurl, libmad, lrzsz, midori, module-init-tools, mtd-utils,
	openssh, openssl, pciutils, qt, sqlite, sysstat, webkit, zlib

+9 −0
Original line number Diff line number Diff line
@@ -18,6 +18,15 @@ else
	GPSD_CONF_OPT += --disable-libgpsmm
endif

# Enable or disable Qt binding
ifeq ($(BR2_PACKAGE_QT_NETWORK),y)
	GPSD_CONF_ENV += QMAKE="$(QT_QMAKE)"
	GPSD_CONF_OPT += --enable-libQgpsmm
	GPSD_DEPENDENCIES += qt
else
	GPSD_CONF_OPT += --disable-libQgpsmm
endif

# If libusb is available build it before so the package can use it
ifeq ($(BR2_PACKAGE_LIBUSB),y)
	GPSD_DEPENDENCIES += libusb