From e237c9935796445434a7888b9fe2aa84e3e7975a Mon Sep 17 00:00:00 2001 From: Mike Crowe Date: Thu, 11 Feb 2010 13:19:35 +0000 Subject: libusb: bump version, convert to autotools, add -compat lib Upgrade libusb to v1.0.3 and add new libusb-compat package for compatibility with old packages that expect the pre-1.0 API. Also update usb_modeswitch to depend on libusb-compat rather than libusb. Minor fixes by Thomas Petazzoni . Fixes bug #1093. Signed-off-by: Mike Crowe --- package/usb_modeswitch/Config.in | 2 +- package/usb_modeswitch/usb_modeswitch.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package/usb_modeswitch') diff --git a/package/usb_modeswitch/Config.in b/package/usb_modeswitch/Config.in index 41cd3a065..f9fa76e2c 100644 --- a/package/usb_modeswitch/Config.in +++ b/package/usb_modeswitch/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_USB_MODESWITCH bool "usb_modeswitch" - select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_LIBUSB_COMPAT help USB mode switcher. Used to switch mode on multiple-function devices diff --git a/package/usb_modeswitch/usb_modeswitch.mk b/package/usb_modeswitch/usb_modeswitch.mk index 306d80315..377bc3b91 100644 --- a/package/usb_modeswitch/usb_modeswitch.mk +++ b/package/usb_modeswitch/usb_modeswitch.mk @@ -8,7 +8,7 @@ USB_MODESWITCH_VERSION = 1.0.7 USB_MODESWITCH_SOURCE = usb_modeswitch-$(USB_MODESWITCH_VERSION).tar.bz2 USB_MODESWITCH_SITE = http://www.draisberghof.de/usb_modeswitch USB_MODESWITCH_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install -USB_MODESWITCH_DEPENDENCIES = libusb +USB_MODESWITCH_DEPENDENCIES = libusb-compat USB_MODESWITCH_MAKE_OPT = CC="$(TARGET_CC)" OPTS="$(TARGET_CFLAGS)" $(eval $(call AUTOTARGETS,package,usb_modeswitch)) -- cgit v1.2.3