From: Anthony Liguori <anthony@codemonkey.ws>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Fix compilation failure with simple trace when srcdir==objdir
Date: Tue, 16 Nov 2010 16:25:46 -0600 [thread overview]
Message-ID: <4CE304EA.5040407@codemonkey.ws> (raw)
In-Reply-To: <1289938027-28282-1-git-send-email-peter.maydell@linaro.org>
On 11/16/2010 02:07 PM, Peter Maydell wrote:
> Fix a makefile error that meant that qemu would not compile if
> the source and object directories were the same.
>
> Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
>
Applied. Thanks.
Regards,
Anthony Liguori
> ---
> Makefile.target | 11 +++++------
> 1 files changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/Makefile.target b/Makefile.target
> index a5e6410..652c7d2 100644
> --- a/Makefile.target
> +++ b/Makefile.target
> @@ -30,6 +30,7 @@ endif
> endif
>
> PROGS=$(QEMU_PROG)
> +STPFILES=
>
> ifndef CONFIG_HAIKU
> LIBS+=-lm
> @@ -41,19 +42,17 @@ config-target.h: config-target.h-timestamp
> config-target.h-timestamp: config-target.mak
>
> ifdef CONFIG_SYSTEMTAP_TRACE
> -trace: $(QEMU_PROG).stp
> +STPFILES+=$(QEMU_PROG).stp
>
> $(QEMU_PROG).stp:
> $(call quiet-command,sh $(SRC_PATH)/tracetool \
> --$(TRACE_BACKEND) \
> --bindir $(bindir) \
> --target $(TARGET_ARCH) \
> - -s< $(SRC_PATH)/trace-events> $(QEMU_PROG).stp," GEN $(QEMU_PROG).stp")
> -else
> -trace:
> + -s< $(SRC_PATH)/trace-events> $@," GEN $@")
> endif
>
> -all: $(PROGS) trace
> +all: $(PROGS) $(STPFILES)
>
> # Dummy command so that make thinks it has done something
> @true
> @@ -363,7 +362,7 @@ endif
> endif
> ifdef CONFIG_SYSTEMTAP_TRACE
> $(INSTALL_DIR) "$(DESTDIR)$(datadir)/../systemtap/tapset"
> - $(INSTALL_DATA) $(QEMU_PROG).stp "$(DESTDIR)$(datadir)/../systemtap/tapset"
> + $(INSTALL_DATA) $(STPFILES) "$(DESTDIR)$(datadir)/../systemtap/tapset"
> endif
>
> # Include automatically generated dependency files
>
next prev parent reply other threads:[~2010-11-16 22:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-08 19:33 [Qemu-devel] [PATCH 0/2] Add support for SystemTAP and DTrace tracing backends (v5) Daniel P. Berrange
2010-11-08 19:33 ` [Qemu-devel] [PATCH 1/2] Add a DTrace tracing backend targetted for SystemTAP compatability Daniel P. Berrange
2010-11-16 15:46 ` Anthony Liguori
2010-11-16 17:43 ` Peter Maydell
2010-11-16 18:10 ` Anthony Liguori
2010-11-16 18:54 ` Peter Maydell
2010-11-16 18:58 ` Anthony Liguori
2010-11-16 20:07 ` [Qemu-devel] [PATCH] Fix compilation failure with simple trace when srcdir==objdir Peter Maydell
2010-11-16 21:12 ` Stefan Hajnoczi
2010-11-16 22:25 ` Anthony Liguori [this message]
2010-11-16 20:22 ` [Qemu-devel] [PATCH 1/2] Add a DTrace tracing backend targetted for SystemTAP compatability Peter Maydell
2010-11-17 11:36 ` Daniel P. Berrange
2010-11-17 11:35 ` Daniel P. Berrange
2010-11-18 0:00 ` Anthony Liguori
2010-11-18 15:58 ` Stefan Hajnoczi
2010-11-08 19:33 ` [Qemu-devel] [PATCH 2/2] Add support for generating a systemtap tapset static probes Daniel P. Berrange
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=4CE304EA.5040407@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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.