1. 26 5月, 2011 2 次提交
  2. 15 1月, 2011 1 次提交
  3. 02 12月, 2010 2 次提交
  4. 26 11月, 2010 1 次提交
  5. 08 3月, 2010 1 次提交
    • M
      Revert "kbuild: specify absolute paths for cscope" · e93bc1a0
      Michal Marek 提交于
      This reverts commit eb8f844c. Ian
      Campbell writes:
      > I keep my kernel source tree on a more powerful build box where I run my
      > builds etc (including "make cscope") but run my editor from my
      > workstation with an NFS mount to the source. This worked fine for me
      > using relative paths for cscope. Using absolute paths in cscope breaks
      > this previously working setup because the root path is not the same on
      > both systems. I guess this is similar to moving the source tree around.
      >
      > Without wanting to start a flamewar it really sounds to me like we are
      > working around a vim (or cscope) bug here, emacs with cscope bindings
      > works fine in this configuration.
      
      Given that absolute paths can be forced by make O=. cscope, change the
      default back to relative paths.
      
      Ian Campbell <ijc@hellion.org.uk>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      e93bc1a0
  6. 03 3月, 2010 2 次提交
  7. 22 2月, 2010 1 次提交
  8. 17 2月, 2010 1 次提交
    • G
      tags: include headers before source files · f81b1be4
      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>
      f81b1be4
  9. 12 12月, 2009 1 次提交
    • D
      kbuild: specify absolute paths for cscope · eb8f844c
      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>
      eb8f844c
  10. 20 9月, 2009 1 次提交
    • S
      ctags: usability fix · 7db86dc9
      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>
      7db86dc9
  11. 01 5月, 2009 1 次提交
  12. 15 2月, 2009 2 次提交
  13. 08 1月, 2009 1 次提交
  14. 03 1月, 2009 1 次提交
  15. 14 12月, 2008 2 次提交
  16. 04 12月, 2008 1 次提交
    • S
      tags and cscope support really belongs in a shell script · a680eedc
      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>
      a680eedc