[nacked] scripts-add-a-intermediate-file-for-make-gtags.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: scripts/tags.sh: add a intermediate file for 'make gtags'
has been removed from the -mm tree.  Its filename was
     scripts-add-a-intermediate-file-for-make-gtags.patch

This patch was dropped because it was nacked

------------------------------------------------------
From: xujialu <xujialu@xxxxxxxxx>
Subject: scripts/tags.sh: add a intermediate file for 'make gtags'

As 'GTAGS Manual' said: If ´gtags.files´ exists in the current directory
directory or a file is specified by the -f option, target files are
limited by it.

So add gtags.files just like cscope.files.

Link: http://lkml.kernel.org/r/20200502052619.26457-3-xujialu@xxxxxxxxx
Signed-off-by: xujialu <xujialu@xxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: Masahiro Yamada <masahiroy@xxxxxxxxxx>
Cc: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 Makefile        |    2 +-
 scripts/tags.sh |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

--- a/Makefile~scripts-add-a-intermediate-file-for-make-gtags
+++ a/Makefile
@@ -1405,7 +1405,7 @@ MRPROPER_FILES += .config .config.old .v
 
 # Directories & files removed with 'make distclean'
 DISTCLEAN_DIRS  +=
-DISTCLEAN_FILES += tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS
+DISTCLEAN_FILES += tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS gtags.files
 
 # clean - Delete most, but leave enough to build external modules
 #
--- a/scripts/tags.sh~scripts-add-a-intermediate-file-for-make-gtags
+++ a/scripts/tags.sh
@@ -142,7 +142,8 @@ docscope()
 
 dogtags()
 {
-	all_target_sources | gtags -i -f -
+	all_target_sources > gtags.files
+	gtags -i -f gtags.files
 }
 
 # Basic regular expressions with an optional /kind-spec/ for ctags and
_

Patches currently in -mm which might be from xujialu@xxxxxxxxx are

scripts-support-compiled-source-improved-precise.patch





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux