mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 12:49:34 +02:00
libusb1: fix make install race
There's an install race in when building in parallel, remove a redundant rule to stop it happening. (From OE-Core rev: cbdd4099b06011f2b73743c715276c730b7bf576) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
cb01f6d0af
commit
f9d51cd06c
19
meta/recipes-support/libusb/libusb1/no-dll.patch
Normal file
19
meta/recipes-support/libusb/libusb1/no-dll.patch
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
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
|
||||||
|
-
|
||||||
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
|
|||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
|
SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
|
||||||
|
file://no-dll.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "1d4eb194eaaa2bcfbba28102768c7dbf"
|
SRC_URI[md5sum] = "1d4eb194eaaa2bcfbba28102768c7dbf"
|
||||||
|
|||||||
Reference in New Issue
Block a user