1. 21 12月, 2012 1 次提交
    • D
      x86: Default to ARCH=x86 to avoid overriding CONFIG_64BIT · ffee0de4
      David Woodhouse 提交于
      It is easy to waste a bunch of time when one takes a 32-bit .config
      from a test machine and try to build it on a faster 64-bit system, and
      its existing setting of CONFIG_64BIT=n gets *changed* to match the
      build host.  Similarly, if one has an existing build tree it is easy
      to trash an entire build tree that way.
      
      This is because the default setting for $ARCH when discovered from
      'uname' is one of the legacy pre-x86-merge values (i386 or x86_64),
      which effectively force the setting of CONFIG_64BIT to match. We should
      default to ARCH=x86 instead, finally completing the merge that we
      started so long ago.
      
      This patch preserves the behaviour of the legacy ARCH settings for commands
      such as:
      
         make ARCH=x86_64 randconfig
         make ARCH=i386 randconfig
      
      ... since making the value of CONFIG_64BIT actually random in that situation
      is not desirable.
      
      In time, perhaps we can retire this legacy use of the old ARCH= values.
      We already have a way to override values for *any* config option, using
      $KCONFIG_ALLCONFIG, so it could be argued that we don't necessarily need
      to keep ARCH={i386,x86_64} around as a special case just for overriding
      CONFIG_64BIT.
      
      We'd probably at least want to add a way to override config options from
      the command line ('make CONFIG_FOO=y oldconfig') before we talk about doing
      that though.
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      Link: http://lkml.kernel.org/r/1356040315.3198.51.camel@shinybook.infradead.orgSigned-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      ffee0de4
  2. 11 12月, 2012 1 次提交
  3. 04 12月, 2012 1 次提交
  4. 26 11月, 2012 1 次提交
  5. 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
  6. 17 11月, 2012 1 次提交
  7. 11 11月, 2012 1 次提交
  8. 05 11月, 2012 1 次提交
  9. 29 10月, 2012 1 次提交
  10. 21 10月, 2012 1 次提交
  11. 20 10月, 2012 1 次提交
  12. 19 10月, 2012 1 次提交
  13. 17 10月, 2012 1 次提交
  14. 15 10月, 2012 1 次提交
  15. 10 10月, 2012 2 次提交
  16. 03 10月, 2012 3 次提交
  17. 01 10月, 2012 1 次提交
  18. 24 9月, 2012 1 次提交
  19. 17 9月, 2012 1 次提交
  20. 09 9月, 2012 1 次提交
  21. 02 9月, 2012 1 次提交
  22. 31 8月, 2012 1 次提交
  23. 23 8月, 2012 2 次提交
  24. 17 8月, 2012 1 次提交
  25. 03 8月, 2012 1 次提交
  26. 22 7月, 2012 1 次提交
  27. 15 7月, 2012 1 次提交
  28. 08 7月, 2012 2 次提交
  29. 01 7月, 2012 1 次提交
  30. 25 6月, 2012 1 次提交
  31. 19 6月, 2012 1 次提交
  32. 17 6月, 2012 1 次提交
  33. 09 6月, 2012 1 次提交
  34. 03 6月, 2012 1 次提交
  35. 21 5月, 2012 1 次提交