9
0
Fork 0
barebox/arch
Sascha Hauer a56472209f ARM: build dtbs during build process using extra-y
When using a builtin dtb the builtin dtb is built twice, once
from as a dependency of the 'dtbs' target and once as a dependency
of the corresponding dtb.o target. This can happen in parallel
with parallel make which results in build corruption when two
processes try to generate the dtb at the same time. Typical errors
include:

fixdep: error opening depfile: arch/arm/dts/.imx51-babbage.dtb.d: No such file or directory
make[1]: *** [arch/arm/dts/imx51-babbage.dtb] Error 2

fixdep: arch/arm/dts/.imx51-babbage.dtb.d is empty
mv: cannot stat `arch/arm/dts/.imx51-babbage.dtb.tmp': No such file or directory
make[1]: *** [arch/arm/dts/imx51-babbage.dtb] Error 1

To fix this build the devicetree blobs using extra-y instead of
a separate target.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-05-20 15:53:06 +02:00
..
arm ARM: build dtbs during build process using extra-y 2013-05-20 15:53:06 +02:00
blackfin blackfin: initialize malloc pool before start_barebox() 2013-03-14 08:41:27 +01:00
mips Remove unused config.h 2013-04-09 08:42:52 +02:00
nios2 nios: initialize malloc pool before start_barebox() 2013-03-14 08:41:20 +01:00
openrisc openrisc: initialize malloc pool before start_barebox() 2013-03-14 08:41:23 +01:00
ppc Merge branch 'for-next/oftree' 2013-04-04 14:20:32 +02:00
sandbox Remove unused config.h 2013-04-09 08:42:52 +02:00
x86 Remove unused config.h 2013-04-09 08:42:52 +02:00
architecture.dox MIPS: add documentation 2011-08-05 18:20:17 +02:00