summaryrefslogtreecommitdiffstats
path: root/package/usb_modeswitch
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2010-02-11 13:19:35 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-04-06 21:55:14 +0200
commite237c9935796445434a7888b9fe2aa84e3e7975a (patch)
tree9da98ae3bd09c17b1f168b0dd82508b496f88670 /package/usb_modeswitch
parent6cdcc4d7d8134f4b60f0eb9039090f9ad4c38366 (diff)
downloadbuildroot-novena-e237c9935796445434a7888b9fe2aa84e3e7975a.tar.gz
buildroot-novena-e237c9935796445434a7888b9fe2aa84e3e7975a.zip
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 <thomas.petazzoni@free-electrons.com>. Fixes bug #1093. Signed-off-by: Mike Crowe <mac@mcrowe.com>
Diffstat (limited to 'package/usb_modeswitch')
-rw-r--r--package/usb_modeswitch/Config.in2
-rw-r--r--package/usb_modeswitch/usb_modeswitch.mk2
2 files changed, 2 insertions, 2 deletions
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))