mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
d8234d4400
commit
ba6796c7cc
@@ -27,7 +27,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user