This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]