aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2017-11-27 11:48:55 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-11-27 23:51:01 +0100
commitbce795fbdc61f7c17aefadae1cab47c52dc5236b (patch)
treecc0223370325d0c922c7a0ac1719b80c44415398
parentf97e36db9155dbd00fe6a8ce3a54dc2c3b9ac77a (diff)
downloadbuildroot-bce795fbdc61f7c17aefadae1cab47c52dc5236b.tar.gz
buildroot-bce795fbdc61f7c17aefadae1cab47c52dc5236b.tar.bz2
package/dvb-apps: is not parallel-safe
This is invisible because the timings make it excessively difficult to hit, but the Makefile is inherently flawed for parallel build, as it contains: $(objects): atsc_psip_section.c atsc_psip_section.h atsc_psip_section.c atsc_psip_section.h: perl section_generate.pl atsc_psip_section.pl and the perl script section_generate.pl will create both the .c and .h files in one go, but given the construct above, there can be two such script that run in parallel, which can clobber the generated .c and/or .h files. So, make dvb-apps a MAKE1 package. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (cherry picked from commit ba6796c7ccb856fc34a7983c9ac031168f1e0b65) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/dvb-apps/dvb-apps.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dvb-apps/dvb-apps.mk b/package/dvb-apps/dvb-apps.mk
index 8ba1501d5c..95af87f10e 100644
--- a/package/dvb-apps/dvb-apps.mk
+++ b/package/dvb-apps/dvb-apps.mk
@@ -25,7 +25,7 @@ DVB_APPS_INSTALL_STAGING = YES
define DVB_APPS_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \
- $(MAKE) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \
+ $(MAKE1) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \
$(DVB_APPS_MAKE_OPTS)
endef