]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/dvb-apps: is not parallel-safe
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 27 Nov 2017 10:48:55 +0000 (11:48 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 27 Nov 2017 20:30:56 +0000 (21:30 +0100)
commitba6796c7ccb856fc34a7983c9ac031168f1e0b65
tree77000cb31143a20da3f6a878068840d3ac52ad41
parentd8234d440024719e4df61f583b26302162dc363f
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>
package/dvb-apps/dvb-apps.mk