e237c99357
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>
15 lines
491 B
Makefile
15 lines
491 B
Makefile
#############################################################
|
|
#
|
|
# libusb
|
|
#
|
|
#############################################################
|
|
LIBUSB_VERSION = 1.0.3
|
|
LIBUSB_SOURCE = libusb-$(LIBUSB_VERSION).tar.bz2
|
|
LIBUSB_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/libusb/libusb-1.0/libusb-$(LIBUSB_VERSION)
|
|
LIBUSB_LIBTOOL_PATCH = NO
|
|
LIBUSB_DEPENDENCIES = host-pkg-config
|
|
LIBUSB_INSTALL_STAGING = YES
|
|
LIBUSB_INSTALL_TARGET = YES
|
|
|
|
$(eval $(call AUTOTARGETS,package,libusb))
|