1. 20 11月, 2012 1 次提交
    • D
      tools: Honour the O= flag when tool build called from a higher Makefile · bf35182f
      David Howells 提交于
      Honour the O= flag that was passed to a higher level Makefile and then passed
      down as part of a tool build.
      
      To make this work, the top-level Makefile passes the original O= flag and
      subdir=tools to the tools/Makefile, and that in turn passes
      subdir=$(O)/$(subdir)/foodir when building tool foo in directory
      $(O)/$(subdir)/foodir (where the intervening slashes aren't added if an
      element is missing).
      
      For example, take perf.  This is found in tools/perf/.  Assume we're building
      into directory ~/zebra/, so we pass O=~/zebra to make.  Dependening on where
      we run the build from, we see:
      
      	make run in dir		$(OUTPUT) dir
      	=======================	==================
      	linux			~/zebra/tools/perf/
      	linux/tools		~/zebra/perf/
      	linux/tools/perf	~/zebra/
      
      and if O= is not set, we get:
      
      	make run in dir		$(OUTPUT) dir
      	=======================	==================
      	linux			linux/tools/perf/
      	linux/tools		linux/tools/perf/
      	linux/tools/perf	linux/tools/perf/
      
      The output directories are created by the descend function if they don't
      already exist.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Cc: Borislav Petkov <bp@amd64.org>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Namhyung Kim <namhyung@gmail.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Link: http://lkml.kernel.org/r/1378.1352379110@warthog.procyon.org.ukSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      bf35182f
  2. 29 10月, 2012 1 次提交
  3. 21 10月, 2012 1 次提交
  4. 20 10月, 2012 1 次提交
  5. 19 10月, 2012 1 次提交
  6. 17 10月, 2012 1 次提交
  7. 15 10月, 2012 1 次提交
  8. 10 10月, 2012 2 次提交
  9. 03 10月, 2012 3 次提交
  10. 01 10月, 2012 1 次提交
  11. 24 9月, 2012 1 次提交
  12. 17 9月, 2012 1 次提交
  13. 09 9月, 2012 1 次提交
  14. 02 9月, 2012 1 次提交
  15. 31 8月, 2012 1 次提交
  16. 23 8月, 2012 2 次提交
  17. 17 8月, 2012 1 次提交
  18. 03 8月, 2012 1 次提交
  19. 22 7月, 2012 1 次提交
  20. 15 7月, 2012 1 次提交
  21. 08 7月, 2012 2 次提交
  22. 01 7月, 2012 1 次提交
  23. 25 6月, 2012 1 次提交
  24. 19 6月, 2012 1 次提交
  25. 17 6月, 2012 1 次提交
  26. 09 6月, 2012 1 次提交
  27. 03 6月, 2012 1 次提交
  28. 21 5月, 2012 1 次提交
  29. 19 5月, 2012 1 次提交
    • H
      x86, realmode: 16-bit real-mode code support for relocs tool · 6520fe55
      H. Peter Anvin 提交于
      A new option is added to the relocs tool called '--realmode'.
      This option causes the generation of 16-bit segment relocations
      and 32-bit linear relocations for the real-mode code. When
      the real-mode code is moved to the low-memory during kernel
      initialization, these relocation entries can be used to
      relocate the code properly.
      
      In the assembly code 16-bit segment relocations must be relative
      to the 'real_mode_seg' absolute symbol. Linear relocations must be
      relative to a symbol prefixed with 'pa_'.
      
      16-bit segment relocation is used to load cs:ip in 16-bit code.
      Linear relocations are used in the 32-bit code for relocatable
      data references. They are declared in the linker script of the
      real-mode code.
      
      The relocs tool is moved to arch/x86/tools/relocs.c, and added new
      target archscripts that can be used to build scripts needed building
      an architecture.  be compiled before building the arch/x86 tree.
      
      [ hpa: accelerating this because it detects invalid absolute
        relocations, a serious bug in binutils 2.22.52.0.x which currently
        produces bad kernels. ]
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      Link: http://lkml.kernel.org/r/1336501366-28617-2-git-send-email-jarkko.sakkinen@intel.comSigned-off-by: NJarkko Sakkinen <jarkko.sakkinen@intel.com>
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      Cc: <stable@vger.kernel.org>
      6520fe55
  30. 13 5月, 2012 1 次提交
    • L
      Linux 3.4-rc7 · 36be5051
      Linus Torvalds 提交于
      .. and this should hopefully be the last -rc before final 3.4 release.
      36be5051
  31. 09 5月, 2012 1 次提交
  32. 07 5月, 2012 1 次提交
  33. 06 5月, 2012 3 次提交
    • S
      kbuild: link of vmlinux moved to a script · 1f2bfbd0
      Sam Ravnborg 提交于
      Move the final link of vmlinux to a script to improve
      readability and maintainability of the code.
      
      The Makefile fragments used to link vmlinux has over the
      years seen far too many changes and the logic had become
      hard to follow.
      
      As the process by nature is serialized there was
      nothing gained including this in the Makefile.
      
      "um" has special link requirments - and the
      only way to handle this was to hard-code the linking
      of "um" in the script.
      This was better than trying to modularize it only for the
      benefit of "um" anyway.
      
      The shell script has been improved after input from:
      Arnaud Lacombe <lacombar@gmail.com>
      Nick Bowler <nbowler@elliptictech.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Arnaud Lacombe <lacombar@gmail.com>
      Cc: Nick Bowler <nbowler@elliptictech.com>
      Cc: Richard Weinberger <richard@nod.at>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      1f2bfbd0
    • S
      kbuild: refactor final link of sparc32 · 95698570
      Sam Ravnborg 提交于
      sparc32 uses an additional final link to support btfix.
      Introduce a new set of exported variables in the top-level Makefile
      to make the extra linking step simpler.
      
      sparc32 has hardcoded knowledge of kallsyms support. This fix
      include support for EXTRA_KALLSYM_PASS=1.
      The ugly part is that it is hardcoded in the arch/sparc/boot
      Makefile.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      95698570
    • S
      275eb135