浏览代码

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 01b30e5d69f, 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>
Fabrice Fontaine 5 年之前
父节点
当前提交
658388138c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      package/libsigrok/libsigrok.mk

+ 2 - 2
package/libsigrok/libsigrok.mk

@@ -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