Skip to contentSkip to conversation

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

PATCH In review Konstantin Khlebnikov 2 participants 2 messages Apr 21, 2014 – Apr 24, 2014 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 scripts/tags.sh |    3 +++
 1 file changed, 3 insertions(+)
scripts/tags.sh +3 -0
index f2c5b00..7f506e0 100755
@@ -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()
 {
#1 lore raw
Quoted 4 lines · Konstantin Khlebnikov

User space code in tools/ often reuses names of kernel constructions, this confuses navigation in the normal kernel code. Let's fix this mess.

Applied to kbuild.git#misc, thanks.

Michal