scripts/tags.sh: ignore code of user space tools
authorKonstantin Khlebnikov <koct9i@gmail.com>
Mon, 21 Apr 2014 08:03:08 +0000 (12:03 +0400)
committerMichal Marek <mmarek@suse.cz>
Thu, 24 Apr 2014 13:16:57 +0000 (15:16 +0200)
User space code in tools/ often reuses names of kernel constructions,
this confuses navigation in the normal kernel code. Let's fix this mess.

Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/tags.sh

index c1f6489..6db551e 100755 (executable)
@@ -25,6 +25,9 @@ else
        tree=${srctree}/
 fi
 
+# ignore userspace tools
+ignore="$ignore ( -path ${tree}tools ) -prune -o"
+
 # Find all available archs
 find_all_archs()
 {