This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Fix parallel build error for Blackfin target (was Re: Parallel build error for Blackfin target)
Jie Zhang wrote:
It seems "bfin-parse.h $(srcdir)/config/bfin-defs.h" is still needed as
the prerequisite for bfin-lex.o.
This patch adds back "bfin-parse.h $(srcdir)/config/bfin-defs.h". But
I'm not sure this is a good patch or not, since I don't know why Ralf
removed them or just by accident. Anyway this fixes my build problem. So
I'd like send out for review.
Jie
* Makefile.am (bfin-defs.h, $(srcdir)/config/bfin-defs.h):
Rename to ...
(bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these.
* Makefile.in: Regenerate.
Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/gas/Makefile.am,v
retrieving revision 1.181
diff -u -r1.181 Makefile.am
--- Makefile.am 26 Aug 2009 18:27:36 -0000 1.181
+++ Makefile.am 1 Sep 2009 09:36:56 -0000
@@ -606,8 +606,8 @@
bfin-parse.o: bfin-parse.c bfin-parse.h $(srcdir)/config/bfin-defs.h \
$(INCDIR)/elf/common.h $(INCDIR)/elf/bfin.h $(BFDDIR)/libbfd.h
-bfin-defs.h: ; @true
-$(srcdir)/config/bfin-defs.h: ; @true
+bfin-parse.h: ; @true
+$(srcdir)/config/bfin-parse.h: ; @true
bfin-lex.c: $(srcdir)/config/bfin-lex.l
$(SHELL) $(YLWRAP) $(srcdir)/config/bfin-lex.l lex.yy.c bfin-lex.c -- $(LEXCOMPILE)