Files
buildroot/package
Fabrice Fontaine 1c8ec92a39 package/usb_modeswitch: fix parallel install
Extract from bug report:

"In usb_modeswitch Makefile dispatcher-script, dispatcher-dynlink and
dispatcher-statlink are .PHONY targets. The result is that sources are
compiled also when install targets are called.
USB_MODESWITCH_INSTALL_TARGET_CMDS calls $(MAKE) which is a call to
parallel make eg. make -j9. So the install phase can install empty
usb_modeswitch binary (happened once) if the compiler have just cleared
the binary and install command installs it before compiler writes the
binary. USB_MODESWITCH_INSTALL_TARGET_CMDS should call $(MAKE1)."

Instead of disabling parellel install, use install-common target instead
of install-{dyn,stat}link targets. Indeed, the dynamic or static
usb_modeswitch_dispatcher binary will be built by
all-with-{dyn,stat}link-dispatcher targets, there is no need to rebuild
it during the install step

Fixes:
 - https://bugs.buildroot.org/show_bug.cgi?id=12911

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 345c68f04f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-09-05 14:23:53 +02:00
..
2020-07-22 13:37:14 +02:00
2020-02-25 23:24:34 +01:00
2020-02-23 09:45:10 +01:00
2020-04-25 09:06:09 +02:00
2020-02-29 23:17:29 +01:00
2020-08-28 18:01:24 +02:00
2020-02-29 19:26:38 +01:00
2020-06-02 08:41:08 +02:00
2020-07-20 21:56:41 +02:00
2020-08-13 20:36:31 +02:00
2020-05-08 11:39:03 +02:00
2020-07-22 13:47:00 +02:00
2020-05-08 12:08:05 +02:00
2020-07-22 11:08:12 +02:00
2020-02-11 23:28:26 +01:00
2020-04-07 21:04:41 +02:00
2020-04-07 20:28:05 +02:00
2020-07-13 08:37:19 +02:00
2020-07-22 13:44:19 +02:00
2020-05-31 23:21:38 +02:00
2020-02-23 09:26:10 +01:00
2020-07-22 09:00:59 +02:00
2020-04-08 16:30:36 +02:00
2020-08-18 17:24:21 +02:00
2020-05-08 09:13:34 +02:00
2020-02-15 12:04:49 +01:00
2020-08-28 18:43:57 +02:00
2020-07-15 23:21:34 +02:00
2020-02-15 11:58:38 +01:00
2020-04-30 14:42:03 +02:00
2020-04-29 23:49:57 +02:00
2020-02-14 09:13:07 +01:00
2020-08-28 17:10:50 +02:00
2020-03-08 09:41:44 +01:00
2020-05-31 23:20:15 +02:00
2020-04-07 20:24:58 +02:00
2020-07-22 13:44:19 +02:00
2020-03-02 23:33:57 +01:00
2020-03-07 22:52:02 +01:00
2020-08-28 18:43:57 +02:00
2020-02-14 09:13:07 +01:00
2020-04-07 21:02:37 +02:00
2020-05-09 09:20:45 +02:00