1. 27 2月, 2006 4 次提交
  2. 23 2月, 2006 2 次提交
    • S
      kbuild: do not warn when unwind sections references .init/.exit sections · 6e10133f
      Sam Ravnborg 提交于
      Andrew Morton reported a number of false positives for ia64 - like these:
      WARNING: drivers/acpi/button.o - Section mismatch: reference to .init.text: from .IA_64.unwind.init.text after '' (at offset 0x0)
      WARNING: drivers/acpi/button.o - Section mismatch: reference to .exit.text: from .IA_64.unwind.exit.text after '' (at offset 0x0)
      WARNING: drivers/acpi/processor.o - Section mismatch: reference to .init.text: from .IA_64.unwind after '' (at offset 0x1e8)
      
      They are all false positives - or at least the .c code looks OK.
      It is not known why sometimes a section name is appended and sometimes not.
      
      Fix is to accept references from all sections that includes "unwind." in the name.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      6e10133f
    • A
      kbuild: fix modpost compile with older gcc · fededcd2
      akpm@osdl.org 提交于
      The kernel now requires that CC be 3.1.0 or higher.  But we shouldn't place
      that requirement upon HOSTCC unless we really need to.  Fixes my ia64 problem.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      fededcd2
  3. 19 2月, 2006 13 次提交
  4. 10 2月, 2006 1 次提交
  5. 06 2月, 2006 1 次提交
  6. 02 2月, 2006 3 次提交
  7. 21 1月, 2006 1 次提交
    • S
      kconfig: fix /dev/null breakage · 3835f821
      Sam Ravnborg 提交于
      While running "make menuconfig" and "make mrproper"
      some people experienced that /dev/null suddenly changed
      permissions or suddenly became a regular file.
      The main reason was that /dev/null was used as output
      to gcc in the check-lxdialog.sh script and gcc did
      some strange things with the output file; in this
      case /dev/null when it errorred out.
      
      Following patch implements a suggestion
      from Bryan O'Sullivan <bos@serpentine.com> to
      use gcc -print-file-name=libxxx.so.
      
      Also the Makefile is adjusted to not resolve value of
      HOST_EXTRACFLAGS and HOST_LOADLIBES until they are actually used.
      This prevents us from calling gcc when running make *clean/mrproper
      
      Thanks to Eyal Lebedinsky <eyal@eyal.emu.id.au> and
      Jean Delvare <khali@linux-fr.org> for the first error reports.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      ---
      3835f821
  8. 16 1月, 2006 1 次提交
    • S
      kbuild: create .kernelrelease at *config step · 2244cbd8
      Sam Ravnborg 提交于
      To enable 'make kernelrelease' earlier now create .kernelrelease when
      one of the *config targets are used.
      Also introduce KERNELVERSION - only user is kconfig.
      KERNELVERSION was needed to display kernel version in menuconfig -
      KERNELRELEASE is not valid until configuration has completed.
      kconfig files modified to use KERNELVERSION.
      Bug reported by: Rene Rebe <rene@exactcode.de>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      2244cbd8
  9. 15 1月, 2006 1 次提交
    • S
      kconfig: get rid of stray a.o, support ncursesw · 60f33b80
      Sam Ravnborg 提交于
      scripts/kconfig/lxdialog/check-lxdialog.sh uses gcc to check for
      what libraries are present. Redirect output to /dev/null
      so we do not generate an a.out.
      Also included support for ncursesw - so if present prefer that
      instead of ncurses.
      The order is now (first is preferred):
      1) ncursesw
      2) ncurses
      3) curses
      
      The latter is to support SunOS.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      60f33b80
  10. 11 1月, 2006 1 次提交
  11. 10 1月, 2006 1 次提交
  12. 09 1月, 2006 7 次提交
  13. 07 1月, 2006 3 次提交
    • S
      kbuild: introduce escsq to escapre single quotes · d51bfb78
      Sam Ravnborg 提交于
      This makes things a little bit more reader friendly and gvim is less
      confused.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      d51bfb78
    • A
      kconfig: fix gconfig with POSIXLY_CORRECT=1 · 37193147
      Adrian Bunk 提交于
      This patch fixed "make gconfig" with POSIXLY_CORRECT=1 set.
      
      This issue was reported by Jens Elkner <elkner@linofee.org> in kernel
      Bugzilla #2919.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      37193147
    • 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
  14. 05 1月, 2006 1 次提交
    • R
      [PATCH] Input: add modalias support · 1d8f430c
      Rusty Russell 提交于
      Here's the patch for modalias support for input classes.  It uses
      comma-separated numbers, and doesn't describe all the potential keys (no
      module currently cares, and that would make the strings huge).  The
      changes to input.h are to move the definitions needed by file2alias
      outside __KERNEL__.  I chose not to move those definitions to
      mod_devicetable.h, because there are so many that it might break compile
      of something else in the kernel.
      
      The rest is fairly straightforward.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      CC: Kay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      1d8f430c