diff options
author | Daniel Hobi <daniel.hobi@schmid-telecom.ch> | 2010-01-18 17:13:39 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-01-18 21:25:16 (GMT) |
commit | 2a9987935e3cdb61e7550c87cbc9f500a54f672d (patch) | |
tree | c9ab6537d94eb5a3eebca80c9435e9b558e55250 /examples/standalone | |
parent | 88ffb2665cd066b6b20cfaade13929d4e8428dde (diff) | |
download | u-boot-2a9987935e3cdb61e7550c87cbc9f500a54f672d.tar.xz |
Makefile: fix parallel build
During parallel build, the top Makefile spawns multiple sub-makes for
targets in cpu/$(CPU) and $(dir $(LDSCRIPT)). If the .depend files are
not present in these directories, the sub-makes may end up generating
these files simultaneously which leads to corrupted content.
A typical error message is:
.depend:39: *** multiple target patterns. Stop.
This patch serializes the creation of .depend in cpu/$(CPU) and
$(dir $(LDSCRIPT)) by adding these directories to the depend target
in the top Makefile.
Other directories in $(LIBS) are not affected since they contain only
one Make target and thus only one sub-make is spawned per directory.
Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'examples/standalone')
0 files changed, 0 insertions, 0 deletions