1. 09 6月, 2006 1 次提交
    • R
      kconfig: fix .config dependencies · c955ccaf
      Roman Zippel 提交于
      This fixes one of the worst kbuild warts left - the broken dependencies used
      to check and regenerate the .config file.  This was done via an indirect
      dependency and the .config itself had an empty command, which can cause make
      not to reread the changed .config file.
      
      Instead of this we generate now a new file include/config/auto.conf from
      .config, which is used for kbuild and has the proper dependencies.  It's also
      the main make target now for all files generated during this step (and thus
      replaces include/linux/autoconf.h).
      
      This also means we can now relax the syntax requirements for the .config file
      and we don't have to rewrite it all the time, i.e.  silentoldconfig only
      writes .config now when it's necessary to keep it in sync with the Kconfig
      files and even this can be suppressed by setting the environment variable
      KCONFIG_NOSILENTUPDATE, so the update can (and must) be done manually.
      Signed-off-by: NRoman Zippel <zippel@linux-m68k.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      c955ccaf
  2. 06 6月, 2006 1 次提交
  3. 25 5月, 2006 1 次提交
  4. 12 5月, 2006 1 次提交
  5. 08 5月, 2006 1 次提交
  6. 01 5月, 2006 1 次提交
  7. 27 4月, 2006 1 次提交
  8. 19 4月, 2006 1 次提交
  9. 06 4月, 2006 2 次提交
  10. 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
  11. 03 4月, 2006 1 次提交
  12. 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
  13. 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
  14. 21 3月, 2006 2 次提交
  15. 20 3月, 2006 1 次提交
  16. 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
  17. 12 3月, 2006 1 次提交
  18. 11 3月, 2006 1 次提交
  19. 09 3月, 2006 1 次提交
  20. 06 3月, 2006 1 次提交
  21. 05 3月, 2006 1 次提交
  22. 27 2月, 2006 1 次提交
  23. 23 2月, 2006 1 次提交
  24. 19 2月, 2006 7 次提交
  25. 18 2月, 2006 1 次提交
  26. 16 2月, 2006 1 次提交
  27. 13 2月, 2006 1 次提交
  28. 03 2月, 2006 1 次提交
  29. 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
  30. 17 1月, 2006 2 次提交
  31. 16 1月, 2006 1 次提交
    • 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