libusb1: upgrade 1.0.22 -> 1.0.23

no-dll.patch
removed since it is no available for 1.0.23

(From OE-Core rev: 5d55b5e3c5b41929e348a2c9ab69ce0ba774f0cb)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wang Mingyu
2020-04-02 02:16:58 -07:00
committed by Richard Purdie
parent a2bfc86aaf
commit 37605f613f
2 changed files with 2 additions and 22 deletions

View File

@@ -1,19 +0,0 @@
As all invokes all-recursive which uses sub-makes to invoke all-am, the
resulting makefile wants to build libusb-1.0.la twice. In non-parallel builds
the second attempt is skipped as the target already exists, but in highly
parallel builds it's likely that two makes will be building libusb-1.0.la at the
same time.
Solve this by removing the explicit all target, which as libusb-1.0.dll isn't
built under Linux is redundant anyway.
Upstream-Status: Pending
Signed-off-by: Ross Burton <ross.burton@intel.com>
diff --git a/libusb/Makefile.am b/libusb/Makefile.am
index 0cab0a0..c880213 100644
--- a/libusb/Makefile.am
+++ b/libusb/Makefile.am
@@ -1,2 +0,0 @@
-all: libusb-1.0.la libusb-1.0.dll
-

View File

@@ -9,12 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
BBCLASSEXTEND = "native nativesdk"
SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
file://no-dll.patch \
file://run-ptest \
"
SRC_URI[md5sum] = "466267889daead47674df933cea9cacb"
SRC_URI[sha256sum] = "75aeb9d59a4fdb800d329a545c2e6799f732362193b465ea198f2aa275518157"
SRC_URI[md5sum] = "be79ed4a4a440169deec8beaac6aae33"
SRC_URI[sha256sum] = "4fc17b2ef3502757641bf8fe2c14ad86ec86302a2b785abcb0806fd03aa1201f"
S = "${WORKDIR}/libusb-${PV}"