package/libsigrok: fix configure options
- Remove --disable-glibtest (unrecognized option) - Switch --{en,dis}able-xxx options by --{with,without}-xxx options Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
f81b26ec52
commit
01b30e5d69
|
@ -10,27 +10,27 @@ LIBSIGROK_LICENSE = GPL-3.0+
|
|||
LIBSIGROK_LICENSE_FILES = COPYING
|
||||
LIBSIGROK_INSTALL_STAGING = YES
|
||||
LIBSIGROK_DEPENDENCIES = libglib2 libzip host-pkgconf
|
||||
LIBSIGROK_CONF_OPTS = --disable-glibtest --disable-java --disable-python
|
||||
LIBSIGROK_CONF_OPTS = --disable-java --disable-python
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSERIALPORT),y)
|
||||
LIBSIGROK_CONF_OPTS += --enable-libserialport
|
||||
LIBSIGROK_CONF_OPTS += --with-libserialport
|
||||
LIBSIGROK_DEPENDENCIES += libserialport
|
||||
else
|
||||
LIBSIGROK_CONF_OPTS += --disable-libserialport
|
||||
LIBSIGROK_CONF_OPTS += --without-libserialport
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBFTDI),y)
|
||||
LIBSIGROK_CONF_OPTS += --enable-libftdi
|
||||
LIBSIGROK_CONF_OPTS += --with-libftdi
|
||||
LIBSIGROK_DEPENDENCIES += libftdi
|
||||
else
|
||||
LIBSIGROK_CONF_OPTS += --disable-libftdi
|
||||
LIBSIGROK_CONF_OPTS += --without-libftdi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
||||
LIBSIGROK_CONF_OPTS += --enable-libusb
|
||||
LIBSIGROK_CONF_OPTS += --with-libusb
|
||||
LIBSIGROK_DEPENDENCIES += libusb
|
||||
else
|
||||
LIBSIGROK_CONF_OPTS += --disable-libusb
|
||||
LIBSIGROK_CONF_OPTS += --without-libusb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GLIBMM),y)
|
||||
|
|
Loading…
Reference in a new issue