public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Jie Zhang <jie.zhang@analog.com>
To: binutils@sourceware.org
Cc: Dave Korn <dave.korn.cygwin@googlemail.com>, Ralf.Wildenhues@gmx.de
Subject: [PATCH] Fix parallel build error for Blackfin target (was Re: Parallel  build error for Blackfin target)
Date: Tue, 01 Sep 2009 09:58:00 -0000	[thread overview]
Message-ID: <4A9CF027.8020301@analog.com> (raw)
In-Reply-To: <4A9CDE3C.3000604@analog.com>

[-- Attachment #1: Type: text/plain, Size: 382 bytes --]

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

[-- Attachment #2: gas-prevent-bfin-parse-h-clobber.diff --]
[-- Type: text/x-patch, Size: 851 bytes --]


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


  reply	other threads:[~2009-09-01  9:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-01  6:50 Parallel build error for Blackfin target Jie Zhang
2009-09-01  7:11 ` Dave Korn
2009-09-01  8:29   ` Jie Zhang
2009-09-01  8:41     ` Jie Zhang
2009-09-01  9:58       ` Jie Zhang [this message]
2009-09-01 21:14         ` [PATCH] Fix parallel build error for Blackfin target (was Re: Parallel build error for Blackfin target) Ralf Wildenhues
2009-09-02  6:24           ` Jie Zhang
2009-09-01 21:00   ` Parallel build error for Blackfin target Ralf Wildenhues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A9CF027.8020301@analog.com \
    --to=jie.zhang@analog.com \
    --cc=Ralf.Wildenhues@gmx.de \
    --cc=binutils@sourceware.org \
    --cc=dave.korn.cygwin@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).