diff options
author | 2018-11-22 19:07:46 +0100 | |
---|---|---|
committer | 2018-11-26 18:57:16 +0100 | |
commit | aa8d13d70e42c283e72fb34fb625bfcf7fccc315 (patch) | |
tree | 9c7b1f3cc28a428f7e56324157f9e85648d01e0f | |
parent | f4c3937cdf2bd17e3e185676f3563690124d0cfe (diff) | |
download | buildroot-aa8d13d70e42c283e72fb34fb625bfcf7fccc315.tar.gz buildroot-aa8d13d70e42c283e72fb34fb625bfcf7fccc315.tar.bz2 |
package/usb_modeswitch: disable parallel build
Build of package will sometime fails because of the following issue:
install-static target has two dependencies: dispatcher-static and
install-common
Because dispatcher-static is not a file but only a target, it will
always be called to build usb_modeswitch_dispatcher.
So, even if install-common depends on usb_modeswitch_dispatcher, in some
rare cases, install-static won't be able to install
usb_modeswitch_dispatcher because it is being rebuild by
dispatcher-static
To fix this issue, disable parallel build
Fixes:
- http://autobuild.buildroot.org/results/8297be35725b816ff5afaf909605ceb41223efb6
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit a554109af857b7b53598c5a9e0ee1d2729da73df)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/usb_modeswitch/usb_modeswitch.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/usb_modeswitch/usb_modeswitch.mk b/package/usb_modeswitch/usb_modeswitch.mk index 8dd712f264..719e4fe33b 100644 --- a/package/usb_modeswitch/usb_modeswitch.mk +++ b/package/usb_modeswitch/usb_modeswitch.mk @@ -10,6 +10,8 @@ USB_MODESWITCH_SITE = http://www.draisberghof.de/usb_modeswitch USB_MODESWITCH_DEPENDENCIES = libusb USB_MODESWITCH_LICENSE = GPL-2.0+ USB_MODESWITCH_LICENSE_FILES = COPYING +# Package does not build in parallel due to improper make rules +USB_MODESWITCH_MAKE = $(MAKE1) USB_MODESWITCH_BUILD_TARGETS = static USB_MODESWITCH_INSTALL_TARGETS = install-static |