Fix parallel build race.

gengtype-lex.c is built twice, once for BUILD and once for HOST, but
the BUILD flavour is missing a dependency on $(BCONFIG_H).

2012-11-21  Marcus Shawcroft  <marcus.shawcroft@arm.com>

	* Makefile.in (gengtype-lex.o): Add dependency on $(BCONFIG_H).

From-SVN: r193691
This commit is contained in:
Marcus Shawcroft 2012-11-21 13:15:12 +00:00 committed by Marcus Shawcroft
parent deadf3adbd
commit c3e3d23548
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-11-21 Marcus Shawcroft <marcus.shawcroft@arm.com>
* Makefile.in (gengtype-lex.o): Add dependency on $(BCONFIG_H).
2012-11-21 Bin Cheng <bin.cheng@arm.com>
* config/arm/arm-cores.def (cortex-m1, cortex-m0)

View File

@ -3886,7 +3886,7 @@ build/gengenrtl.o : gengenrtl.c $(BCONFIG_H) $(SYSTEM_H) rtl.def
# the build-%: rule doesn't apply to them.
gengtype-lex.o build/gengtype-lex.o : gengtype-lex.c gengtype.h $(SYSTEM_H)
gengtype-lex.o: $(CONFIG_H)
gengtype-lex.o: $(CONFIG_H) $(BCONFIG_H)
CFLAGS-gengtype-lex.o += -DGENERATOR_FILE
build/gengtype-lex.o: $(BCONFIG_H)