package/libsigrok: fix libftdi support

libsigrok optionally depends on libftdi1, not libftdi. This was already
the case for a long time, but until the recent commit 01b30e5d69, all
the configure options were wrong so it would use the automatic check for
availability of libftdi1. Now we pass the --with-libftdi option
explicitly, configure will fail if libftdi1 is not available.

Fixes:
 - http://autobuild.buildroot.net/results/ec1f9f57944139b24738c1be529c4fc4b128a516

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2019-10-28 12:24:11 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent f1cf9d2302
commit 658388138c

View File

@ -19,9 +19,9 @@ else
LIBSIGROK_CONF_OPTS += --without-libserialport
endif
ifeq ($(BR2_PACKAGE_LIBFTDI),y)
ifeq ($(BR2_PACKAGE_LIBFTDI1),y)
LIBSIGROK_CONF_OPTS += --with-libftdi
LIBSIGROK_DEPENDENCIES += libftdi
LIBSIGROK_DEPENDENCIES += libftdi1
else
LIBSIGROK_CONF_OPTS += --without-libftdi
endif