From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Tue, 29 Jul 2014 23:55:35 +0200 Subject: [U-Boot] [PATCH v7 06/15] kconfig: switch to Kconfig In-Reply-To: <53D816B0.6020609@myspectrum.nl> References: <1406630072-24962-1-git-send-email-yamada.m@jp.panasonic.com> <1406630072-24962-7-git-send-email-yamada.m@jp.panasonic.com> <53D816B0.6020609@myspectrum.nl> Message-ID: <53D81857.6020007@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. >> > >> +# 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