提交 21d4e8e3 编写于 作者: A Alexandre Bique 提交者: Anthony Liguori

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: NAlexandre Bique <alexandre.bique@citrix.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 6b35e7bf
......@@ -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.*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册