This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Fix bfin-parse.o prerequisite
- From: Jie Zhang <jie dot zhang at analog dot com>
- To: binutils at sourceware dot org
- Date: Tue, 1 Sep 2009 17:47:24 +0800
- Subject: [PATCH] Fix bfin-parse.o prerequisite
bfin-parse.h is not a prerequisite of bfin-parse.o but
$(srcdir)/config/bfin-aux.h is. This patch fixes it.
Is it OK to commit?
Jie
* Makefile.am (bfin-parse.o): Remove bfin-parse.h from
the prerequisite. Add $(srcdir)/config/bfin-aux.h to the
prerequisite.
* 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:34:44 -0000
@@ -603,7 +603,8 @@
bfin-parse.c: $(srcdir)/config/bfin-parse.y
$(SHELL) $(YLWRAP) $(srcdir)/config/bfin-parse.y y.tab.c bfin-parse.c y.tab.h bfin-parse.h -- $(YACCCOMPILE) -d ;
bfin-parse.h: bfin-parse.c
-bfin-parse.o: bfin-parse.c bfin-parse.h $(srcdir)/config/bfin-defs.h \
+bfin-parse.o: bfin-parse.c \
+ $(srcdir)/config/bfin-aux.h $(srcdir)/config/bfin-defs.h \
$(INCDIR)/elf/common.h $(INCDIR)/elf/bfin.h $(BFDDIR)/libbfd.h
bfin-defs.h: ; @true