aboutsummaryrefslogtreecommitdiff
path: root/rules.mak
diff options
context:
space:
mode:
authorLluís Vilanova <vilanova@ac.upc.edu>2012-04-18 20:15:45 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-04-25 14:21:35 +0100
commitc0424934fae64785adc3d3818f2e6ad1bcb50ca9 (patch)
treee1c6d5e2e5377e2ab97edf12919341ed76f238eb /rules.mak
parent19ac36b5e2bdbcb8eb4165c2d028efeac91c99aa (diff)
Beautify makefile commands for generation of files with tracetool
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'rules.mak')
-rw-r--r--rules.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.mak b/rules.mak
index c30093c116..efef6f242d 100644
--- a/rules.mak
+++ b/rules.mak
@@ -59,6 +59,9 @@ find-in-path = $(if $(find-string /, $1), \
$(wildcard $1), \
$(wildcard $(patsubst %, %/$1, $(subst :, ,$(PATH)))))
+# Generate files with tracetool
+TRACETOOL=$(PYTHON) $(SRC_PATH)/scripts/tracetool.py
+
# Generate timestamp files for .h include files
%.h: %.h-timestamp