libpcap: remove unrecognized canusb option
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 29 Jan 2019 22:33:54 +0000 (23:33 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 2 Feb 2019 21:54:43 +0000 (22:54 +0100)
canusb has been removed since version 1.8.1 and
https://github.com/the-tcpdump-group/libpcap/commit/93ca5ff7030aaf1219e1de05ec89a68384bfc50b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libpcap/libpcap.mk

index c4c5f314652cbe968963320b3a89d4e1af013d2f..daa369f66c811a5ed7f494fef451daa064c676ca 100644 (file)
@@ -38,13 +38,6 @@ else
 LIBPCAP_CONF_OPTS += --disable-dbus
 endif
 
-ifeq ($(BR2_PACKAGE_LIBUSB),y)
-LIBPCAP_CONF_OPTS += --enable-canusb
-LIBPCAP_DEPENDENCIES += libusb
-else
-LIBPCAP_CONF_OPTS += --disable-canusb
-endif
-
 ifeq ($(BR2_PACKAGE_LIBNL),y)
 LIBPCAP_DEPENDENCIES += libnl
 LIBPCAP_CFLAGS += "-I$(STAGING_DIR)/usr/include/libnl3"