diff options
author | Frederik Pasch <fpasch@googlemail.com> | 2010-11-15 15:32:03 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-11-24 22:41:46 +0100 |
commit | 5a8f4d7828903b6a97da3ad17f138c6b24c23128 (patch) | |
tree | 81dea2fecefd7d5ffdb817ffc03f46232e5e663e /package | |
parent | 9c69033480b52d9fd93ab35172e23e78e19d683a (diff) | |
download | buildroot-novena-5a8f4d7828903b6a97da3ad17f138c6b24c23128.tar.gz buildroot-novena-5a8f4d7828903b6a97da3ad17f138c6b24c23128.zip |
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>
Diffstat (limited to 'package')
-rw-r--r-- | package/gpsd/gpsd.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk index ab7e921c1..6c249911b 100644 --- a/package/gpsd/gpsd.mk +++ b/package/gpsd/gpsd.mk @@ -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 |