summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlexandre Bique2009-08-07 16:43:11 +0200
committerAnthony Liguori2009-08-24 15:01:41 +0200
commit21d4e8e3efc66964d1cbe4dd0eb8f18303f84fa9 (patch)
tree1f97683a1dab0f6c005d5bd4f0c05bb3e0aa4eb5 /Makefile
parentQEMU set irq0override in fw_cfg (diff)
downloadqemu-21d4e8e3efc66964d1cbe4dd0eb8f18303f84fa9.tar.gz
qemu-21d4e8e3efc66964d1cbe4dd0eb8f18303f84fa9.tar.xz
qemu-21d4e8e3efc66964d1cbe4dd0eb8f18303f84fa9.zip
Makefile: fixed rule TAGS
- still works if the build dir is not the src dir - use find instead of *.c block/*.c etc... Signed-off-by: Alexandre Bique <alexandre.bique@citrix.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f6bdf84c31..e595cb5ee3 100644
--- a/Makefile
+++ b/Makefile
@@ -244,8 +244,9 @@ endif
test speed: all
$(MAKE) -C tests $@
+.PHONY: TAGS
TAGS:
- etags *.[ch] tests/*.[ch] block/*.[ch] hw/*.[ch]
+ find "$(SRC_PATH)" -name '*.[hc]' -print0 | xargs -0 etags
cscope:
rm -f ./cscope.*