diff mbox

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

Message ID 20140421080308.14562.30914.stgit@zurg (mailing list archive)
State New, archived
Headers show

Commit Message

Konstantin Khlebnikov April 21, 2014, 8:03 a.m. UTC
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>
---
 scripts/tags.sh |    3 +++
 1 file changed, 3 insertions(+)


--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Michal Marek April 24, 2014, 1:17 p.m. UTC | #1
On 2014-04-21 10:03, Konstantin Khlebnikov wrote:
> 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>

Applied to kbuild.git#misc, thanks.

Michal

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/scripts/tags.sh b/scripts/tags.sh
index f2c5b00..7f506e0 100755
--- a/scripts/tags.sh
+++ b/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()
 {