]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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 c1f64893efe98a9aeff4eac0419a8c21851036d4..6db551e07498b62c0f8a746c5868ff342d1da845 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()
 {