public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jeroen Hofstee <dasuboot@myspectrum.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v7 06/15] kconfig: switch to Kconfig
Date: Tue, 29 Jul 2014 23:55:35 +0200	[thread overview]
Message-ID: <53D81857.6020007@myspectrum.nl> (raw)
In-Reply-To: <53D816B0.6020609@myspectrum.nl>

Hello Masahiro,

On 29-07-14 23:48, Jeroen Hofstee wrote:
> Hello Masahiro / Tom,
>
> On 29-07-14 12:34, Masahiro Yamada wrote:
>> This commit enables Kconfig.
>> Going forward, we use Kconfig for the board configuration.
>> mkconfig will never be used. Nor will include/config.mk be generated.
>>
>> Kconfig must be adjusted for U-Boot because our situation is
>> a little more complicated than Linux Kernel.
>> We have to generate multiple boot images (Normal, SPL, TPL)
>> from one source tree.
>> Each image needs its own configuration input.
>>
> <snip>
>> +# We want to include arch/$(ARCH)/config.mk only when 
>> include/config/auto.conf
>> +# is up-to-date. When we switch to a different board configuration, 
>> old CONFIG
>> +# macros are still remaining in include/config/auto.conf. Without 
>> the following
>> +# gimmick, wrong config.mk would be included leading nasty 
>> warnings/errors.
>> +autoconf_is_current := $(if $(wildcard $(KCONFIG_CONFIG)),$(shell 
>> find \
>> +        -path ./include/config/auto.conf -newer $(KCONFIG_CONFIG)))
>
> fyi, this patchset seems to work remarkably well on FreeBSD, except
> above line. FreeBSD find requires a directory (dot in this case) as first
> argument. I will send a patch for it after this got merged, not to 
> hold this.
> Just a heads up, since it is likely slightly after the merge window.

I just saw that Tom asked for a v8. If you do so, can you include this?

Thanks,
Jeroen

  reply	other threads:[~2014-07-29 21:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-29 10:34 [U-Boot] [PATCH v7 0/15] Kconfig for U-Boot Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 01/15] kconfig: import Kconfig files from Linux 3.16-rc7 Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 02/15] Do not apply: tools: add genkconfig Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 03/15] kconfig: add board Kconfig and defconfig files Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 04/15] kconfig: add basic Kconfig files Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 05/15] include: define CONFIG_SPL and CONFIG_TPL as 1 Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 06/15] kconfig: switch to Kconfig Masahiro Yamada
2014-07-29 21:48   ` Jeroen Hofstee
2014-07-29 21:55     ` Jeroen Hofstee [this message]
2014-07-30  2:34       ` Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 07/15] Do not apply: tools: add gen_maintainers.py Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 08/15] Add board MAINTAINERS files Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 09/15] tools: add genboardscfg.py Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 10/15] kconfig: remove mkconfig and boards.cfg Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 11/15] MAKEALL: adjust for Kconfig Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 12/15] buildman: " Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 13/15] kconfig: delete redundant CONFIG_${ARCH} definition Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 14/15] powerpc: remove redundant CPU definition Masahiro Yamada
2014-07-29 10:34 ` [U-Boot] [PATCH v7 15/15] include: remove CONFIG_SPL/CONFIG_TPL definition in config headers Masahiro Yamada
2014-07-29 17:59 ` [U-Boot] [PATCH v7 0/15] Kconfig for U-Boot Tom Rini
2014-07-30  5:22   ` Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D81857.6020007@myspectrum.nl \
    --to=dasuboot@myspectrum.nl \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox