Commit 21d4e8e3 authored by Alexandre Bique's avatar Alexandre Bique Committed by Anthony Liguori
Browse files

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: default avatarAlexandre Bique <alexandre.bique@citrix.com>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent 6b35e7bf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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.*