浏览代码

scripts/tags.sh: ignore code of user space tools

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>
Konstantin Khlebnikov 11 年之前
父节点
当前提交
8c38a5328a
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      scripts/tags.sh

+ 3 - 0
scripts/tags.sh

@@ -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()
 {