1. 19 4月, 2006 1 次提交
  2. 06 4月, 2006 2 次提交
  3. 05 4月, 2006 1 次提交
    • S
      kbuild: fix building single targets with make O=.. single-target · bc2546a6
      Sam Ravnborg 提交于
      This fixes single targets build so it now works relaiably in
      following cases:
      - build with mixed kernel source and output files (make single-target)
      - build with separate output directory (make O=.. single-target)
      - external module with mixed kernel source and output files
        (make M='pwd' single-target)
      - external module with separate kernel source and output files
        (make O=.. M='pwd' single-target)
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      bc2546a6
  4. 03 4月, 2006 1 次提交
  5. 26 3月, 2006 1 次提交
    • A
      [PATCH] x86_64: Don't define string functions to builtin · 6edfba1b
      Andi Kleen 提交于
      gcc should handle this anyways, and it causes problems when
      sprintf is turned into strcpy by gcc behind our backs and
      the C fallback version of strcpy is actually defining __builtin_strcpy
      
      Then drop -ffreestanding from the main Makefile because it isn't
      needed anymore and implies -fno-builtin, which is wrong now.
      (it was only added for x86-64, so dropping it should be safe)
      
      Noticed by Roman Zippel
      
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      6edfba1b
  6. 24 3月, 2006 1 次提交
    • J
      [PATCH] CONFIG_UNWIND_INFO · 604bf5a2
      Jan Beulich 提交于
      As a foundation for reliable stack unwinding, this adds a config option
      (available to all architectures except IA64 and those where the module
      loader might have problems with the resulting relocations) to enable the
      generation of frame unwind information.
      Signed-off-by: NJan Beulich <jbeulich@novell.com>
      Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Paul Mundt <lethal@linux-sh.org>,
      Cc: Andi Kleen <ak@muc.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      604bf5a2
  7. 21 3月, 2006 2 次提交
  8. 20 3月, 2006 1 次提交
  9. 13 3月, 2006 1 次提交
    • A
      Kconfig: remove the CONFIG_CC_ALIGN_* options · 8cab77a2
      Adrian Bunk 提交于
      I don't see any use case for the CONFIG_CC_ALIGN_* options:
      - they are only available if EMBEDDED
      - people using EMBEDDED will most likely also enable
        CC_OPTIMIZE_FOR_SIZE
      - the default for -Os is to disable alignment
      
      In case someone is doing performance comparisons and discovers that the
      default settings gcc chooses aren't good, the only sane thing is to discuss
      whether it makes sense to change this, not through offering options to change
      this locally.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      8cab77a2
  10. 12 3月, 2006 1 次提交
  11. 11 3月, 2006 1 次提交
  12. 09 3月, 2006 1 次提交
  13. 06 3月, 2006 1 次提交
  14. 05 3月, 2006 1 次提交
  15. 27 2月, 2006 1 次提交
  16. 23 2月, 2006 1 次提交
  17. 19 2月, 2006 7 次提交
  18. 18 2月, 2006 1 次提交
  19. 16 2月, 2006 1 次提交
  20. 13 2月, 2006 1 次提交
  21. 03 2月, 2006 1 次提交
  22. 21 1月, 2006 1 次提交
    • S
      kbuild: fix build with O=.. · 8c7f75d3
      Sam Ravnborg 提交于
      .kernelrelease was saved in same directory as kernel source also
      with make O=...
      Make sure we kick in the normal logic to shift to the output directory
      when we build .kernelrelease after executing *config.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      ---
      8c7f75d3
  23. 17 1月, 2006 2 次提交
  24. 16 1月, 2006 3 次提交
    • S
      kbuild: fix 'make all install_modules install' · df9df036
      Sam Ravnborg 提交于
      The command 'make all modules_install install' would fail
      in a virgin tree - pointing at a non-existing directory under
      /lib/modules/xxx
      
      KERNELRELEASE is part of MODLIB and we need to create .kernelrelease
      before we can properly evaluate KERNELRELEASE,
      Changing MODLIB to the recursively expanded flavor let it pick up
      the correct KERNELRELEASE value.
      
      Reported by: "Hemmann, Volker Armin" <volker.armin.hemmann@tu-clausthal.de>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      df9df036
    • 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
    • S
      kbuild: fix make -jN with multiple targets with O=... · 296e0855
      Sam Ravnborg 提交于
      The way multiple targets was handled with make O=...
      broke because for each high-level target make spawned
      a parallel make resulting in a broken build.
      Reported by Keith Owens <kaos@ocs.com.au>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      296e0855
  25. 15 1月, 2006 1 次提交
    • P
      powerpc: Make ARCH=powerpc the default for 32-bit ppc · 820a8ce7
      Paul Mackerras 提交于
      This makes ARCH=powerpc the default on 32-bit powerpc machines,
      where uname -m returns ppc, as well as on 64-bit powerpc machines.
      Most people who would be likely to build their own kernels on
      32-bit powerpc machines would be using powermacs or CHRP machines,
      both of which are supported with ARCH=powerpc now.  Embedded ppc
      developers whose ports haven't been moved over to arch/powerpc
      yet will have to explicitly set ARCH=ppc now.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      820a8ce7
  26. 10 1月, 2006 3 次提交
    • A
      spelling: s/usefull/useful/ · a58a414f
      Adrian Bunk 提交于
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      a58a414f
    • S
      kbuild: re-export VERSION, PATCHLEVEL, SUBLEVEL · 4f0210b9
      Sam Ravnborg 提交于
      Eric Sandeen <sandeen@sgi.com> pointed out that it is usefull to have
      access to VERSION, PATCHLEVEL, SUBLEVEL in external modules, and gooling
      a litte confirmed this.
      So re-export them.
      Usage within the kernel is still discouraged but possible.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      4f0210b9
    • S
      kbuild: KERNELRELEASE is only re-defined when buiding the kernel · cb58455c
      Sam Ravnborg 提交于
      To avoid running setlocalversion as root no longer (re-)define
      KERNELRELEASE for each run. With this patch KERNELRELEASE is
      only re-read when we do an actual kernel build.
      Rationale behind this is "do as little as possible" when executing
      make install - as root!
      
      A new file named .kernelrelease is strored in the root of the kernel
      tree containing the actual version string.
      So when we use do a kernel build the .kernelrelease file will be updated.
      But in all other situations it is left as-is.
      
      To make it more visible the kernel now prints out the version being build.
      Sample:
      Building kernel 2.6.15-g63b794bf-dirty
      ...
      ...
      
      The patch also un-exports VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION LOCALVERSION
      since all users of these are anyway broken - and none is left in the
      tree.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      cb58455c
  27. 09 1月, 2006 1 次提交