1. 07 1月, 2006 4 次提交
    • S
      kbuild: un-stringnify KBUILD_MODNAME · 367cb704
      Sam Ravnborg 提交于
      Now when kbuild passes KBUILD_MODNAME with "" do not __stringify it when
      used. Remove __stringnify for all users.
      This also fixes the output of:
      
      $ ls -l /sys/module/
      drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia
      drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia_core
      drwxr-xr-x 3 root root 0 2006-01-05 14:24 "processor"
      drwxr-xr-x 3 root root 0 2006-01-05 14:24 "psmouse"
      
      The quoting of the module names will be gone again.
      Thanks to GregKH + Kay Sievers for reproting this.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      367cb704
    • B
      gitignore: ignore shared objects · 20ede274
      Brian Gerst 提交于
      Many arches make shared objects for VDSOs.  Generally exclude them.
      Signed-off-by: NBrian Gerst <bgerst@didntduck.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      20ede274
    • R
      kbuild: Use git in scripts/setlocalversion · 117a93db
      Rene Scharfe 提交于
      Currently scripts/setlocalversion is a Perl script that tries to figure
      out the current git commit ID of a repo without using git.  It also
      imports Digest::MD5 without using it and generally is too big for the
      small task it does. :]  And it always reports a git ID, even when the
      HEAD is tagged -- this is a bug.
      
      This patch replaces it with a Bourne Shell script that uses git
      commands to do the same.  I can't come up with a scenario where someone
      would use a git repo and refuse to install git core at the same time,
      so I think it's reasonable to assume git is available.
      
      The new script also reports uncommitted changes by adding -git_dirty to
      the version string.  Obviously you can't see from that _what_ has been
      changed from the last commit, so it's more of a reminder that you
      forgot to commit something.
      
      The script is easily extensible: simply add a check for Mercurial (or
      whatever) below the git check.
      
      Note: the script doesn't print a newline char anymore.  That's only
      because it was easier to implement it that way, not a feature (or bug).
      'make kernelrelease' doesn't care.
      Signed-off-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Acked-by: NRyan Anderson <ryan@michonline.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      117a93db
    • S
      kbuild: document howto build external modules using several directories · 253dfa6e
      Sam Ravnborg 提交于
      Update modules.txt with info how to build external modules
      with files in several directories.
      The question popped up on lkml often enough to warrant this,
      let's see if people read this stuff - or google hits it.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      253dfa6e
  2. 06 1月, 2006 36 次提交