1. 11 Jun, 2010 1 commit
    • Nicolas Palix's avatar
      Add a target to use the Coccinelle checker · 74425eee
      Nicolas Palix authored
      A 'coccicheck' target is added. It can be called with four different
      modes. Each one generates a different kind of output, i.e. context,
      patch, org, report, according to the corresponding mode to be
      activated.
      
      The new target calls the 'coccicheck' front-end in the 'scripts'
      directory with the MODE argument. Every SmPL file in the
      subdirectories of 'scripts/coccinelle' is then given to the front-end
      and applied to the entire source tree.
      
      The four modes behave as follows:
      
      'report' generates a list in the following format:
        file:line:column-column: message
      
      'patch' proposes a fix, when possible.
      
      'context' highlights lines of interest and their context in a
      diff-like style. Lines of interest are indicated with '-'.
      
      'org' generates a report in the Org mode format of Emacs.
      Signed-off-by: default avatarNicolas Palix <npalix@diku.dk>
      Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Acked-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      74425eee
  2. 27 May, 2010 1 commit
  3. 06 May, 2010 1 commit
  4. 14 Apr, 2010 6 commits
  5. 08 Apr, 2010 1 commit
  6. 23 Mar, 2010 4 commits
  7. 11 Mar, 2010 1 commit
  8. 10 Mar, 2010 1 commit
  9. 08 Mar, 2010 2 commits
    • Michal Marek's avatar
      Revert "kbuild: specify absolute paths for cscope" · e93bc1a0
      Michal Marek authored
      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: default avatarMichal Marek <mmarek@suse.cz>
      e93bc1a0
    • Michal Marek's avatar
      kbuild: Do not unnecessarily regenerate modules.builtin · a6c36632
      Michal Marek authored
      Only regenerate it if the configuration has changed. Also, do this after
      the modules build to fix errors with some weird Makefiles that are
      generated during build.
      Reported-by: default avatarEric Miao <eric.y.miao@gmail.com>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      a6c36632
  10. 07 Mar, 2010 9 commits
  11. 03 Mar, 2010 13 commits