- 03 3月, 2010 2 次提交
-
-
由 John Kacur 提交于
make ALLSOURCE_ARCHS=all tags - Document this in kbuild.txt Without this change you have to type each arch separately. Signed-off-by: NJohn Kacur <jkacur@redhat.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
由 John Kacur 提交于
Signed-off-by: NJohn Kacur <jkacur@redhat.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 22 2月, 2010 1 次提交
-
-
由 Michal Marek 提交于
$ make mrproper $ make tags GEN tags find: `arch/x86_64/': No such file or directory Caused by commit f81b1be4 (tags: include headers before source files) Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: NWANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 17 2月, 2010 1 次提交
-
-
由 Guennadi Liakhovetski 提交于
Currently looking up a structure definition in TAGS / tags takes one to one of multiple "static struct X" definitions in arch sources, which makes it for many structs practically impossible to get to the required header. This patch changes the order of sources being tagged to first scan architecture includes, then the top-level include/ directory, and only then the rest. It also takes into account, that many architectures have more than one include directory, i.e., not only arch/$ARCH/include, but also arch/$ARCH/mach-X/include etc. Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de> Reviewed-by: NWANG Cong <xiyou.wangcong@gmail.com> [mmarek@suse.cz: fix 'var+=text' bashism] Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 12 12月, 2009 1 次提交
-
-
由 Daniel Vetter 提交于
Cscope doesn't hadle relative paths when cscope.out is not in $PWD. Use absolute paths when generating cscope.files, which seems to be the recommended way to generate cscope.out, anyway (at least according to cscope.sf.net). The speed and size differences are minimal, the only drawback is that the database needs to be regenerated if the source directory is moved. [mmarek: fixed for O= builds, modified changelog] Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: NMichal Marek <mmarek@suse.cz>
-
- 20 9月, 2009 1 次提交
-
-
由 Stefani Seibold 提交于
The tag file generated by the tags.sh script has some issue. First: The identifier-list miss the DEFINE_TRACE,EXPORT_TRACEPOINT_SYMBOL,EXPORT_TRACEPOINT_SYMBOL_GPL special handling, which can result in a wrong tag, not to jump to the right variable definition or function implementation. Second: It makes no real sense to include function prototypes and external and forward variable declarations, because jumping to a tag will sometimes go to this and not to the real definition and implementation. The information about the declaration is still there at the definition and implementation place. So this patch make it lot easier to navigate through the kernel source tree using vi. Signed-off-by: NStefani Seibold <stefani@seibold.net> Acked-by: NWANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 01 5月, 2009 1 次提交
-
-
由 Matt Kraai 提交于
If a tag file is not removed before it is regenerated, the newly generated data is appended to the old, which preserves stale data and makes the tag file grow over time. Signed-off-by: NMatt Kraai <kraai@ftbfs.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 15 2月, 2009 2 次提交
-
-
由 Rabin Vincent 提交于
Currently, it is no longer possible to use the tags file to jump to system call function definitions with sys_foo, because the definitions are obscured by use of the SYSCALL_DEFINE* macros. This patch adds the appropriate option to ctags to make it see through the macro. Also, it adds the ENTRY() work already done for Exuberant to Emacs too. Signed-off-by: NRabin Vincent <rabin@rab.in> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Alexey Dobriyan 提交于
commit 4f628248 aka "kbuild: reintroduce ALLSOURCE_ARCHS support for tags/cscope" breaks tags generation for Kconfig symbols. Steps to reproduce: make tags vi -t PROC_FS It should jump to 'config PROC_FS' line. Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com> Tested-by: NPete Wyckoff <pw@padd.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 08 1月, 2009 1 次提交
-
-
由 Jike Song 提交于
This patch reintroduce the ALLSOURCE_ARCHS support for tags/TAGS/ cscope targets. The Kbuild previously has this feature, but after moving the targets into scripts/tags.sh, ALLSOURCE_ARCHS disappears. It's something like this: $ make ALLSOURCE_ARCHS="x86 mips arm" tags cscope Signed-off-by: NJike Song <albcamus@gmail.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 03 1月, 2009 1 次提交
-
-
由 Sam Ravnborg 提交于
Noticed by Jike. Reported-by: N"Jike Song" <albcamus@gmail.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 14 12月, 2008 2 次提交
-
-
由 Jiri Slaby 提交于
Test of string equality in shells is =, not C-like ==. Signed-off-by: NJiri Slaby <jirislaby@gmail.com> Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
由 Jiri Slaby 提交于
- fix combining O=... and tags - don't allow * expansion during sh function calls Signed-off-by: NJiri Slaby <jirislaby@gmail.com> [sam: use KBUILD_SRC to check if we use O=...] Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
-
- 04 12月, 2008 1 次提交
-
-
由 Sam Ravnborg 提交于
as they do not benefit from the make functionality. Moving the support to a shell script has several benefits: - The readability of the code has increased a lot - More people is able to extend the tags support - We see less changes to the top-level Makefile The shell script version includes improvements from: Alexey Dobriyan <adobriyan@gmail.com> (jump to kconfig symbols) Alexey Dobriyan <adobriyan@gmail.com> (drop ./ in paths) Ian Campbell <ijc@hellion.org.uk> (simplified find algorithms) This version has a few caveats: => It does not support ALLSOURCE_ARCHS - it is easy to add if it is really used => It assumes all archs have moved to arch/$ARCH/include - until that happens we have a few additional hits in the archs Signed-off-by: NSam Ravnborg <sam@ravnborg.org> Cc: Alexey Dobriyan <adobriyan@gmail.com> Tested-by: NIan Campbell <ijc@hellion.org.uk>
-