public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] kconfig: store default ARCH in .config
@ 2014-09-01  7:16 Konstantin Khlebnikov
  2014-09-01  7:16 ` [PATCH v2 1/4] kconfig: save values imported from environment into config file Konstantin Khlebnikov
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Konstantin Khlebnikov @ 2014-09-01  7:16 UTC (permalink / raw)
  To: Michal Marek, linux-kernel, linux-kbuild; +Cc: Paul Bolle, Geert Uytterhoeven

This is second attempt of fixing target archecture amnesia.
v1 patch: http://lkml.kernel.org/r/20140706080234.19520.96704.stgit@zurg

First version saved ARCH as CONFIG_DEFAULT_ARCH and used it as defult ARCH.

This version changes semantic of Kconfig option env="...", now it acts more
like the user input, except that the value comes from the environment.
Variable from environment overrides all defaults and value from config file.
If environment variable is not defined this option has no effect.

So, now ARCH is saved as CONFIG_ARCH.

Also this patchset links CONFIG_CROSS_COMPILE and CROSS_COMPILE in the same way.
Changing it in command line/environment also updates value in the config file.

---

Konstantin Khlebnikov (4):
      kconfig: save values imported from environment into config file
      scripts/config: add option for changing output for undefined options
      kconfig: get target architecture from config file
      kconfig: link CONFIG_CROSS_COMPILE with environment variable


 Documentation/kbuild/kconfig-language.txt |   10 ++++------
 Documentation/kbuild/makefiles.txt        |    3 ++-
 Makefile                                  |   21 +++++++++++++++------
 init/Kconfig                              |    1 +
 scripts/config                            |   15 ++++++++++++---
 scripts/kconfig/confdata.c                |   26 ++++++++++++++++++++++++++
 scripts/kconfig/expr.h                    |    2 +-
 scripts/kconfig/symbol.c                  |    3 ---
 8 files changed, 61 insertions(+), 20 deletions(-)

--
Signature

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-12-10 20:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-01  7:16 [PATCH v2 0/4] kconfig: store default ARCH in .config Konstantin Khlebnikov
2014-09-01  7:16 ` [PATCH v2 1/4] kconfig: save values imported from environment into config file Konstantin Khlebnikov
2014-09-01  7:16 ` [PATCH v2 2/4] scripts/config: add option for changing output for undefined options Konstantin Khlebnikov
2014-09-01  7:16 ` [PATCH v2 3/4] kconfig: get target architecture from config file Konstantin Khlebnikov
2014-09-01  7:16 ` [PATCH v2 4/4] kconfig: link CONFIG_CROSS_COMPILE with environment variable Konstantin Khlebnikov
2014-09-03 21:11   ` Paul Bolle
2014-09-04  5:23     ` Konstantin Khlebnikov
2014-09-01  7:24 ` [PATCH v2 0/4] kconfig: store default ARCH in .config Geert Uytterhoeven
2014-09-01  7:35   ` Konstantin Khlebnikov
2014-10-27 17:20 ` Konstantin Khlebnikov
2014-12-10 20:24   ` Paul Bolle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox