From: Alexandre Raymond Date: Thu, 21 Jul 2011 03:12:15 +0000 (-0400) Subject: Makefile: Minor cscope fixups X-Git-Tag: v1.0-rc0~568^2~57^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45b75ae4ee19a74c826a94e073762b5c7080a90c;p=thirdparty%2Fqemu.git Makefile: Minor cscope fixups Create cscope symbols for assembly files in addition to .c/.h files. Create cscope database with full path instead of relative path so cscope can be used with CSCOPE_DB in any directory. Signed-off-by: Alexandre Raymond Signed-off-by: Stefan Hajnoczi --- diff --git a/Makefile b/Makefile index daa3aa09b52..eb1c788d35d 100644 --- a/Makefile +++ b/Makefile @@ -291,7 +291,7 @@ TAGS: cscope: rm -f ./cscope.* - find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files + find "$(SRC_PATH)" -name "*.[chsS]" -print | sed 's,^\./,,' > ./cscope.files cscope -b # documentation