This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Prevent bfin-parse.h being clobbered
- From: Jie Zhang <jie dot zhang at analog dot com>
- To: binutils at sourceware dot org
- Date: Tue, 1 Sep 2009 17:51:38 +0800
- Subject: [PATCH] Prevent bfin-parse.h being clobbered
Rules likes these don't make sense to me:
bfin-defs.h: ; @true
$(srcdir)/config/bfin-defs.h: ; @true
It appears that they should be
bfin-parse.h: ; @true
$(srcdir)/config/bfin-parse.h: ; @true
which are used to prevent .y.h rule clobbering bfin-parse.h.
This patch fixes it. OK?
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)