qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: [Qemu-devel] [PATCH 1/3] Makefile: add dependency on scripts/create_config
Date: Tue,  7 Jun 2016 13:48:01 +0200	[thread overview]
Message-ID: <1465300083-72463-2-git-send-email-pbonzini@redhat.com> (raw)
In-Reply-To: <1465300083-72463-1-git-send-email-pbonzini@redhat.com>

Make sure that config-host.h and config-target.h are rebuilt whenever
there is a change in the scripts that generates them.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 Makefile        | 2 +-
 Makefile.target | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 59af636..9e0e1f8 100644
--- a/Makefile
+++ b/Makefile
@@ -168,7 +168,7 @@ endif
 all: $(DOCS) $(TOOLS) $(HELPERS-y) recurse-all modules
 
 config-host.h: config-host.h-timestamp
-config-host.h-timestamp: config-host.mak
+config-host.h-timestamp: config-host.mak $(SRC_PATH)/scripts/create_config
 qemu-options.def: $(SRC_PATH)/qemu-options.hx
 	$(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@,"  GEN   $@")
 
diff --git a/Makefile.target b/Makefile.target
index 5b80dd7..0bb5e78 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -37,7 +37,7 @@ PROGS=$(QEMU_PROG) $(QEMU_PROGW)
 STPFILES=
 
 config-target.h: config-target.h-timestamp
-config-target.h-timestamp: config-target.mak
+config-target.h-timestamp: config-target.mak $(SRC_PATH)/scripts/create_config
 
 ifdef CONFIG_TRACE_SYSTEMTAP
 stap: $(QEMU_PROG).stp-installed $(QEMU_PROG).stp $(QEMU_PROG)-simpletrace.stp
-- 
1.8.3.1

  reply	other threads:[~2016-06-07 11:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-07 11:48 [Qemu-devel] [PATCH 0/3] Makefile: add dependencies on scripts Paolo Bonzini
2016-06-07 11:48 ` Paolo Bonzini [this message]
2016-06-07 11:58   ` [Qemu-devel] [PATCH 1/3] Makefile: add dependency on scripts/create_config Peter Maydell
2016-06-07 12:05     ` Paolo Bonzini
2016-06-07 12:09       ` Peter Maydell
2016-06-07 12:11         ` Paolo Bonzini
2016-06-07 11:48 ` [Qemu-devel] [PATCH 2/3] Makefile: add dependency on scripts/make_device_config.sh Paolo Bonzini
2016-06-07 11:59   ` Peter Maydell
2016-06-07 11:48 ` [Qemu-devel] [PATCH 3/3] Makefile: add dependency on scripts/hxtool Paolo Bonzini
2016-06-07 12:00   ` Peter Maydell

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=1465300083-72463-2-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --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 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 NNTP newsgroup(s).