mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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
1 changed files with 2 additions and 1 deletions
3
Makefile
3
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.*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue