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>
This commit is contained in:
parent
6b35e7bf48
commit
21d4e8e3ef
3
Makefile
3
Makefile
|
@ -244,8 +244,9 @@ endif
|
||||||
test speed: all
|
test speed: all
|
||||||
$(MAKE) -C tests $@
|
$(MAKE) -C tests $@
|
||||||
|
|
||||||
|
.PHONY: TAGS
|
||||||
TAGS:
|
TAGS:
|
||||||
etags *.[ch] tests/*.[ch] block/*.[ch] hw/*.[ch]
|
find "$(SRC_PATH)" -name '*.[hc]' -print0 | xargs -0 etags
|
||||||
|
|
||||||
cscope:
|
cscope:
|
||||||
rm -f ./cscope.*
|
rm -f ./cscope.*
|
||||||
|
|
Loading…
Reference in New Issue