Hi Jeroen,
On Tue, 29 Jul 2014 23:55:35 +0200 Jeroen Hofstee <[email protected]> wrote: > 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? Yes, I will. Thanks for reporting it! Best Regards Masahiro Yamada _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

