aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-10-05 13:54:49 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2010-10-05 13:54:49 -0500
commit48f57044e6a826329ebcac5d5a76d776a14e5d43 (patch)
treecc99327c9a0d496ed0c400a31c919b517f9d09f4 /Makefile.target
parente0c8a796d522b80c21b005a19610829c4be2154f (diff)
parenta18b2ce2ed9dc747c2ebab5a220517624e4ff3df (diff)
Merge remote branch 'qmp/for-anthony' into staging
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.target b/Makefile.target
index 4b2558a18b..c48cbcc7f3 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -309,7 +309,7 @@ obj-alpha-y = alpha_palcode.o
main.o: QEMU_CFLAGS+=$(GPROF_CFLAGS)
-monitor.o: qemu-monitor.h
+monitor.o: hmp-commands.h qmp-commands.h
$(obj-y) $(obj-$(TARGET_BASE_ARCH)-y): $(GENERATED_HEADERS)
@@ -330,13 +330,16 @@ $(QEMU_PROG): $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y)
gdbstub-xml.c: $(TARGET_XML_FILES) $(SRC_PATH)/feature_to_c.sh
$(call quiet-command,rm -f $@ && $(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES)," GEN $(TARGET_DIR)$@")
-qemu-monitor.h: $(SRC_PATH)/qemu-monitor.hx
+hmp-commands.h: $(SRC_PATH)/hmp-commands.hx
+ $(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $(TARGET_DIR)$@")
+
+qmp-commands.h: $(SRC_PATH)/qmp-commands.hx
$(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $(TARGET_DIR)$@")
clean:
rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o
rm -f *.d */*.d tcg/*.o ide/*.o
- rm -f qemu-monitor.h gdbstub-xml.c
+ rm -f hmp-commands.h qmp-commands.h gdbstub-xml.c
install: all
ifneq ($(PROGS),)