diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-02-19 08:48:52 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-03-01 19:41:50 +0100 |
commit | 92144c70939d9d029807c10a038acd07289f71bd (patch) | |
tree | 4c9af83ee3716532519e992fb538e12dc96af6b6 | |
parent | e32dccddb0b1fa335bf251c155e907f9d47accfd (diff) | |
download | qemu-92144c70939d9d029807c10a038acd07289f71bd.zip qemu-92144c70939d9d029807c10a038acd07289f71bd.tar.gz qemu-92144c70939d9d029807c10a038acd07289f71bd.tar.bz2 |
Makefile.target: binary depends on config-devices
relink binary whenever config-devices.mak changes:
this makes sense as we are adding/removing devices,
so binary has to be relinked to be up to date.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r-- | Makefile.target | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target index 58c6ae1..2262d89 100644 --- a/Makefile.target +++ b/Makefile.target @@ -175,9 +175,11 @@ all-obj-y += $(common-obj-y) all-obj-y += $(target-obj-y) all-obj-$(CONFIG_SOFTMMU) += $(block-obj-y) +$(QEMU_PROG_BUILD): config-devices.mak + # build either PROG or PROGW $(QEMU_PROG_BUILD): $(all-obj-y) ../libqemuutil.a ../libqemustub.a - $(call LINK,$^) + $(call LINK, $(filter-out %.mak, $^)) gdbstub-xml.c: $(TARGET_XML_FILES) $(SRC_PATH)/scripts/feature_to_c.sh $(call quiet-command,rm -f $@ && $(SHELL) $(SRC_PATH)/scripts/feature_to_c.sh $@ $(TARGET_XML_FILES)," GEN $(TARGET_DIR)$@") |