1. 26 7月, 2008 8 次提交
    • S
      kbuild: add arch/$ARCH/include to search path · 5e4786f7
      Sam Ravnborg 提交于
      This patch conclude the support for
      
         arch/$ARCH/include
      
      Note: The individual architectures will most likely require
            a few minor patches to support locating header files in
            arch/$ARCH/include
      
      Testing shows that it worked out-of-the-box for sparc.
      x86 required a few trivial changes in the arch
      specific Makefile and a few include paths had to be adjusted.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      5e4786f7
    • S
      kbuild: asm symlink support for arch/$ARCH/include · 2e57d051
      Sam Ravnborg 提交于
      Adjust the asm symlink support so we do not create the
      symlink unless really needed.
      We check the precense of include/asm-$ARCH by checking
      for the system.h file. We may end up with a stale directory
      so it is not enough to check if the directory is present.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      2e57d051
    • S
      kbuild: support arch/$ARCH/include for tags, cscope · a53ce098
      Sam Ravnborg 提交于
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      a53ce098
    • S
      kbuild: prepare headers_* for arch/$ARCH/include · 2fb9b1bd
      Sam Ravnborg 提交于
      Factor out the headers_*_all support to a seperate
      shell script and add support for arch specific
      header files can be located in either
      
          arch/$ARCH/include/asm
      or
          include/asm-$ARCH/
      
      In "make help" always display the headers_* targets.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      2fb9b1bd
    • A
      kbuild: make clean removes *.o.* as well · 6b36ab27
      Alexey Dobriyan 提交于
      Those are left presumably from aborted ccache(1) compilations:
      
      	arch/x86/kernel/.tmp_io_apic_64.o.T5veul
      	arch/x86/kvm/.tmp_x86.o.SZWn69
      	arch/x86/mm/.tmp_pgtable.o.sL1LTf
      	drivers/ieee1394/.tmp_ieee1394_transactions.o.bUj6o1
      	drivers/infiniband/hw/mlx4/.tmp_main.o.vy0ep6
      
      BTW, with git there is nice way to check for such nuisainces:
      
      	make mrproper
      	git-ls-files -o
      
      should give empty output.
      
      More precise wildcard spec from: Jan Engelhardt <jengelh@medozas.de>
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Jan Engelhardt <jengelh@medozas.de>
      6b36ab27
    • S
      kbuild: only one call for include/ in make headers_* · 88181ec3
      Sam Ravnborg 提交于
      Move it to the top-level file to decide if we install/check
      the generic headers or the arch specific headers.
      
      This revealed a long standing bug where "make headers_check_all"
      relied on the files in asm/ for the current architecture.
      So make headers_check_all is now broken by this commit.
      
      In addition:
      
      o add a simpler way to detect if an arch support
        exporting header files.
      
      o add 'set -e;' so we error out early if
        make headers_check_all fails.
      
      o add sparc64 and cris to arch we do not process
        in make headers_*_all because:
      
          sparc64 - use sparc to export headers
          cris    - is know seriously broken
      
      Includes suggestions from: David Woodhouse
      <dwmw2@infradead.org>.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      88181ec3
    • S
      kbuild: error out early in make headers_install · f6ecd4c8
      Sam Ravnborg 提交于
      Fix the a.out.h case by setting SRCARCH and error
      out early in case of an error.
      The a.out.h case failed with the *_all targets.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      f6ecd4c8
    • S
      kbuild: refactor headers_* targets in Makefile · e6883b18
      Sam Ravnborg 提交于
      o Use lower case for local variables
      o Add a helper target for common targets
      o Use $(hdr-inst)= ... to make Make invocations simpler
      o Add -rR to make invocations
      
      In total this adds more lines than it removes but the
      benefit is better readability
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      e6883b18
  2. 23 7月, 2008 1 次提交
    • M
      markers: fix duplicate modpost entry · d35cb360
      Mathieu Desnoyers 提交于
      When a kernel was rebuilt, the previous Module.markers was not cleared.
      It caused markers with different format strings to appear as duplicates
      when a markers was changed.  This problem is present since
      scripts/mod/modpost.c started to generate Module.markers, commit
      b2e3e658
      
      It therefore applies to 2.6.25, 2.6.26 and linux-next.
      
      I merely merged the patches from Roland, Wenji and Takashi here.
      
      Credits to
      Roland McGrath <roland@redhat.com>
      Wenji Huang <wenji.huang@oracle.com>
      and
      Takashi Nishiie <t-nishiie@np.css.fujitsu.com>
      
      for providing the individual fixes.
      
      - Changelog :
        - Integrated Takashi's Makefile modification to clear Module.markers upon
          make clean.
      Signed-off-by: NMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Roland McGrath <roland@redhat.com>
      Cc: Wenji Huang <wenji.huang@oracle.com>
      Cc: Takashi Nishiie <t-nishiie@np.css.fujitsu.com>
      Cc: <stable@kernel.org>		[2.6.25.x, 2.6.26.x]
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d35cb360
  3. 18 7月, 2008 1 次提交
  4. 17 7月, 2008 1 次提交
    • R
      Fix MIPS cross-compile problem · bef5b54b
      Ralf Baechle 提交于
      Crosscompiling on a Fedora 9 machine running gcc 4.3.0 as its host compiler
      and gcc 3.4.6 for the mips-linux target results in the following build
      error:
      
      $ make malta_defconfig
      $ make
      cc1: error: unrecognized command line option "-fno-stack-protector"
      scripts/kconfig/conf -s arch/mips/Kconfig
      cc1: error: unrecognized command line option "-fno-stack-protector"
      
      The arch Makefile is included too late so the host compiler is feature
      tested, not the crosscompiler as intended and thus the Makefile applies
      adds -fno-stack-protector to crosscompiler's flags which fails for gcc
      3.4.6.  The bug was introduced by e06b8b98
      in 2.6.25; 35bb5b1e did add more flags
      testing before the arch Makefile inclusion.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      bef5b54b
  5. 14 7月, 2008 1 次提交
  6. 13 7月, 2008 1 次提交
  7. 10 7月, 2008 2 次提交
  8. 06 7月, 2008 1 次提交
  9. 25 6月, 2008 1 次提交
  10. 21 6月, 2008 1 次提交
  11. 13 6月, 2008 1 次提交
  12. 05 6月, 2008 1 次提交
  13. 27 5月, 2008 1 次提交
  14. 24 5月, 2008 1 次提交
  15. 20 5月, 2008 1 次提交
  16. 19 5月, 2008 1 次提交
  17. 12 5月, 2008 1 次提交
  18. 11 5月, 2008 1 次提交
  19. 04 5月, 2008 1 次提交
  20. 02 5月, 2008 1 次提交
  21. 29 4月, 2008 2 次提交
  22. 26 4月, 2008 3 次提交
  23. 25 4月, 2008 1 次提交
  24. 24 4月, 2008 1 次提交
  25. 22 4月, 2008 1 次提交
  26. 17 4月, 2008 1 次提交
  27. 12 4月, 2008 1 次提交
  28. 02 4月, 2008 1 次提交
  29. 26 3月, 2008 1 次提交