diff options
author | Alexandre Bique <alexandre.bique@citrix.com> | 2009-08-07 15:43:11 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-24 08:01:41 -0500 |
commit | 21d4e8e3efc66964d1cbe4dd0eb8f18303f84fa9 (patch) | |
tree | 1f97683a1dab0f6c005d5bd4f0c05bb3e0aa4eb5 | |
parent | 6b35e7bf488a894f8d9315d05846aae9bf580425 (diff) |
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>
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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.* |