From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAFUV-0007LC-Fj for qemu-devel@nongnu.org; Tue, 07 Jun 2016 07:48:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAFUP-0003dL-23 for qemu-devel@nongnu.org; Tue, 07 Jun 2016 07:48:14 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:34410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAFUO-0003d2-R6 for qemu-devel@nongnu.org; Tue, 07 Jun 2016 07:48:08 -0400 Received: by mail-wm0-x244.google.com with SMTP id n184so23536206wmn.1 for ; Tue, 07 Jun 2016 04:48:08 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 7 Jun 2016 13:48:01 +0200 Message-Id: <1465300083-72463-2-git-send-email-pbonzini@redhat.com> In-Reply-To: <1465300083-72463-1-git-send-email-pbonzini@redhat.com> References: <1465300083-72463-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 1/3] Makefile: add dependency on scripts/create_config List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org 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 Signed-off-by: Paolo Bonzini --- 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