1. 18 6月, 2006 1 次提交
    • D
      Basic implementation of 'make headers_install' · 8d730cfb
      David Woodhouse 提交于
      This adds a make target which exports a subset of headers which contain
      definitions which are useful for system libraries and tools. It uses the
      BSD 'unifdef' tool to remove instances of #ifdef __KERNEL__, and uses
      sed to remove markers like __user.
      
      Based on an original implementation by Arnd Bergmann <arnd@arndb.de>
      Hacked about by David Woodhouse <dwmw2@infradead.org>
      Reviewed and cleaned up by Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      8d730cfb
  2. 12 5月, 2006 1 次提交
  3. 08 5月, 2006 1 次提交
  4. 01 5月, 2006 1 次提交
  5. 27 4月, 2006 1 次提交
  6. 19 4月, 2006 1 次提交
  7. 06 4月, 2006 2 次提交
  8. 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
  9. 03 4月, 2006 1 次提交
  10. 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
  11. 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
  12. 21 3月, 2006 2 次提交
  13. 20 3月, 2006 1 次提交
  14. 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
  15. 12 3月, 2006 1 次提交
  16. 11 3月, 2006 1 次提交
  17. 09 3月, 2006 1 次提交
  18. 06 3月, 2006 1 次提交
  19. 05 3月, 2006 1 次提交
  20. 27 2月, 2006 1 次提交
  21. 23 2月, 2006 1 次提交
  22. 19 2月, 2006 7 次提交
  23. 18 2月, 2006 1 次提交
  24. 16 2月, 2006 1 次提交
  25. 13 2月, 2006 1 次提交
  26. 03 2月, 2006 1 次提交
  27. 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
  28. 17 1月, 2006 2 次提交
  29. 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