From: Lluís <xscript@gmx.net>
To: Michael Roth <mdroth@linux.vnet.ibm.com>
Cc: Blue Swirl <blauwirbel@gmail.com>,
Stefan Hajnoczi <stefanha@gmail.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Add CONFIG_QEMU_TIMER to handle qemu-timer-common.o dep
Date: Tue, 30 Aug 2011 21:40:19 +0200 [thread overview]
Message-ID: <87ei02eli4.fsf@ginnungagap.bsc.es> (raw)
In-Reply-To: <87y5yaiwcq.fsf@ginnungagap.bsc.es> ("Lluís"'s message of "Tue, 30 Aug 2011 20:32:21 +0200")
Lluís writes:
> Michael Roth writes:
>> Hmm, looking again I'm confused why we need to do this in the first place...the
>> rule is:
>> LINK = $(call quiet-command,$(CC) $(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS) -o
>> $@ $(1) $(LIBS)," LINK $(TARGET_DIR)$@")
>> %$(EXESUF): %.o
>> $(call LINK,$^)
>> According to the documentation $^ should remove duplicate dependencies, so I'm
>> not getting why we need to de-dupe them once they get passed to LINK:
>> http://www.gnu.org/software/make/manual/make.html#index-g_t_0024_005e-948
>> Is there some distinction between duplicate dependencies and duplicate words in
>> the dependency list?
> It does indeed work X'D
> I was blindly searching for words like "duplicate" and "repeat" in
> make's info page.
> I just now realized that in my case, the duplication error appeared only
> with targets defined in line 434 of Makefile.target.
> The fix is as trivial as using this link line:
> $(call LINK,$^)
> Nice catch Michael, we got lost in the discussion :)
BTW, I think tis settles the issue with [1] being "The Right Thing" (TM) :)
The patch in [2] is exactly the same, but outside the tracing patch set.
[1] http://lists.gnu.org/archive/html/qemu-devel/2011-08/msg03150.html
[2] http://lists.gnu.org/archive/html/qemu-devel/2011-08/msg02915.html
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
next prev parent reply other threads:[~2011-08-30 19:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-26 18:45 [Qemu-devel] [PATCH 1/2] Fix guest agent build with simpletrace Blue Swirl
2011-08-26 19:12 ` Lluís
2011-08-27 16:46 ` Blue Swirl
2011-08-27 17:56 ` Lluís
2011-08-28 7:24 ` Blue Swirl
2011-08-28 18:13 ` Lluís
2011-08-28 21:08 ` Blue Swirl
2011-08-29 12:28 ` Stefan Hajnoczi
2011-08-29 19:25 ` Michael Roth
2011-08-29 19:27 ` [Qemu-devel] [PATCH] Add CONFIG_QEMU_TIMER to handle qemu-timer-common.o dep Michael Roth
2011-08-30 9:22 ` Stefan Hajnoczi
2011-08-30 12:02 ` Lluís
2011-08-30 15:20 ` Michael Roth
2011-08-30 18:32 ` Lluís
2011-08-30 19:40 ` Lluís [this message]
2011-08-30 14:17 ` Anthony Liguori
2011-08-30 19:37 ` Blue Swirl
2011-08-29 12:47 ` [Qemu-devel] [PATCH 1/2] Fix guest agent build with simpletrace Lluís
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=87ei02eli4.fsf@ginnungagap.bsc.es \
--to=xscript@gmx.net \
--cc=blauwirbel@gmail.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.