mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
gpsd: Only build qt support if qt-network is enabled
Signed-off-by: Frederik Pasch <fpasch@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
9c69033480
commit
5a8f4d7828
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user