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
596 B
Makefile
15 lines
596 B
Makefile
#############################################################
|
|
#
|
|
# libusb-compat
|
|
#
|
|
#############################################################
|
|
LIBUSB_COMPAT_VERSION = 0.1.3
|
|
LIBUSB_COMPAT_SOURCE = libusb-compat-$(LIBUSB_COMPAT_VERSION).tar.bz2
|
|
LIBUSB_COMPAT_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-$(LIBUSB_COMPAT_VERSION)
|
|
LIBUSB_COMPAT_LIBTOOL_PATCH = NO
|
|
LIBUSB_COMPAT_DEPENDENCIES = host-pkg-config libusb
|
|
LIBUSB_COMPAT_INSTALL_STAGING = YES
|
|
LIBUSB_COMPAT_INSTALL_TARGET = YES
|
|
|
|
$(eval $(call AUTOTARGETS,package,libusb-compat))
|