diff options
author | Ross Burton <ross.burton@intel.com> | 2015-11-13 14:41:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-25 07:48:19 +0000 |
commit | cbdd4099b06011f2b73743c715276c730b7bf576 (patch) | |
tree | 5d3f4ae19ddb16b1358184ad0f89fe72634bbbe2 /meta/recipes-support/libusb/libusb1 | |
parent | 641a9454fbb25f1458bb8f96cbfada3e0da98dee (diff) | |
download | openembedded-core-cbdd4099b06011f2b73743c715276c730b7bf576.tar.gz openembedded-core-cbdd4099b06011f2b73743c715276c730b7bf576.tar.bz2 openembedded-core-cbdd4099b06011f2b73743c715276c730b7bf576.zip |
libusb1: fix make install race
There's an install race in when building in parallel, remove a redundant rule to
stop it happening.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/libusb/libusb1')
-rw-r--r-- | meta/recipes-support/libusb/libusb1/no-dll.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-support/libusb/libusb1/no-dll.patch b/meta/recipes-support/libusb/libusb1/no-dll.patch new file mode 100644 index 0000000000..6e6bb83d1f --- /dev/null +++ b/meta/recipes-support/libusb/libusb1/no-dll.patch @@ -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 +- |