aboutsummaryrefslogtreecommitdiff
path: root/Makefile.objs
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-10-26 17:53:41 +0200
committerMichael S. Tsirkin <mst@redhat.com>2010-10-27 18:54:02 +0200
commitdf2943ba3c73ca21dbda063f15fa3e80064af864 (patch)
treef2d1791e49848dccbcdf2d681c948a8a7efaf135 /Makefile.objs
parentf7c31d6381f2cbac03e82fc23133f6863606edd8 (diff)
downloadqemu-df2943ba3c73ca21dbda063f15fa3e80064af864.zip
qemu-df2943ba3c73ca21dbda063f15fa3e80064af864.tar.gz
qemu-df2943ba3c73ca21dbda063f15fa3e80064af864.tar.bz2
qemu-options.def: add to generated header list
All files include qemu-options.h which pulls in qemu-options.def from the root directory. Thus generating qemu-options.def from Makefile.objs under the target directory is not effective. Further, people expect .def file to get cleaned with make clean: it does not have state so no reason to defer removing it until distclean. Also add a rule to remove old files that might be around. This fixes the error: ‘QEMU_OPTION_spice’ undeclared (first use in this function) error that some people reported which is really down to an out of date .def file. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs7
1 files changed, 0 insertions, 7 deletions
diff --git a/Makefile.objs b/Makefile.objs
index f07fb01..231219c 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -285,10 +285,3 @@ vl.o: QEMU_CFLAGS+=$(GPROF_CFLAGS)
vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS)
-vl.o: qemu-options.def
-os-posix.o: qemu-options.def
-os-win32.o: qemu-options.def
-
-qemu-options.def: $(SRC_PATH)/qemu-options.hx
- $(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $(TARGET_DIR)$@")
-