From 9c549258ecc86ab2532c4fd6c1a076f682007034 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Mon, 8 Mar 2010 10:26:22 +0100 Subject: [PATCH] --- yaml --- r: 199556 b: refs/heads/master c: e93bc1a0cab3e54e3c1947e01c8e73892e35630d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/tags.sh | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index 1e31e1a3f404..dbc184bf418b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a6c366324cacd5f71107dd01362b995a1c67b1ad +refs/heads/master: e93bc1a0cab3e54e3c1947e01c8e73892e35630d diff --git a/trunk/scripts/tags.sh b/trunk/scripts/tags.sh index 868b4c8fc25f..8509bb512935 100755 --- a/trunk/scripts/tags.sh +++ b/trunk/scripts/tags.sh @@ -18,6 +18,8 @@ ignore="( -name SCCS -o -name BitKeeper -o -name .svn -o \ -prune -o" # Do not use full path if we do not use O=.. builds +# Use make O=. {tags|cscope} +# to force full paths for a non-O= build if [ "${KBUILD_SRC}" = "" ]; then tree= else @@ -108,13 +110,7 @@ all_defconfigs() docscope() { - # always use absolute paths for cscope, as recommended by cscope - # upstream - case "$tree" in - /*) ;; - *) tree=$PWD/$tree ;; - esac - (cd /; echo \-k; echo \-q; all_sources) > cscope.files + (echo \-k; echo \-q; all_sources) > cscope.files cscope -b -f cscope.out }