[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/3] Makefile: add dependency on scripts/create_conf
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 1/3] Makefile: add dependency on scripts/create_config |
Date: |
Tue, 7 Jun 2016 13:48:01 +0200 |
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 <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
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
[Qemu-devel] [PATCH 2/3] Makefile: add dependency on scripts/make_device_config.sh, Paolo Bonzini, 2016/06/07
[Qemu-devel] [PATCH 3/3] Makefile: add dependency on scripts/hxtool, Paolo Bonzini, 2016/06/07