diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-04-26 15:21:01 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-04-26 15:21:01 -0500 |
commit | b1bbf76e7044872b4a2794032ee0abb4cef59dbe (patch) | |
tree | 2a32245b15795c0c556055847fb54f5f52323641 /Makefile | |
parent | 0677e2777e38dc967a0e879a508fb1e88fe6f98e (diff) | |
parent | c0424934fae64785adc3d3818f2e6ad1bcb50ca9 (diff) | |
download | qemu-b1bbf76e7044872b4a2794032ee0abb4cef59dbe.zip qemu-b1bbf76e7044872b4a2794032ee0abb4cef59dbe.tar.gz qemu-b1bbf76e7044872b4a2794032ee0abb4cef59dbe.tar.bz2 |
Merge remote-tracking branch 'stefanha/tracing' into staging
* stefanha/tracing:
Beautify makefile commands for generation of files with tracetool
Generic elimination of auto-generated files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -23,7 +23,7 @@ ifeq ($(TRACE_BACKEND),dtrace) GENERATED_HEADERS += trace-dtrace.h endif GENERATED_HEADERS += qmp-commands.h qapi-types.h qapi-visit.h -GENERATED_SOURCES += qmp-marshal.c qapi-types.c qapi-visit.c +GENERATED_SOURCES += qmp-marshal.c qapi-types.c qapi-visit.c trace.c # Don't try to regenerate Makefile or configure # We don't generate any of them @@ -220,11 +220,11 @@ clean: rm -f qom/*.o qom/*.d rm -f qemu-img-cmds.h rm -f trace/*.o trace/*.d - rm -f trace.c trace.h trace.c-timestamp trace.h-timestamp rm -f trace-dtrace.dtrace trace-dtrace.dtrace-timestamp + @# May not be present in GENERATED_HEADERS rm -f trace-dtrace.h trace-dtrace.h-timestamp - rm -f $(GENERATED_HEADERS) - rm -f $(GENERATED_SOURCES) + rm -f $(foreach f,$(GENERATED_HEADERS),$(f) $(f)-timestamp) + rm -f $(foreach f,$(GENERATED_SOURCES),$(f) $(f)-timestamp) rm -rf $(qapi-dir) $(MAKE) -C tests/tcg clean for d in $(ALL_SUBDIRS) $(QEMULIBS) libcacard; do \ |