[Buildroot] [PATCH 00/14] Add support for U-Boots Kbuild & Kconfig build system

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jan 5 13:59:33 UTC 2015


Dear Jörg Krause,

On Mon, 05 Jan 2015 14:14:00 +0100, Jörg Krause wrote:

> > > So we clearly need to continue to support older versions of U-Boot,
> > > that don't have the kconfig stuff. I just gave a try, and it seems like
> > > the old U-Boot way of configuring/building things apparently still
> > > works with U-Boot 2014.10. So your PATCH 01/14 is probably OK. However
> > > starting from 02/14, I believe you'll be breaking things for U-Boot
> > > versions older than 2014.10.
> 
> U-Boot 2014.10 still supports the old <board_name>_config build system.
> So it should be safe to update the version number only (in case the
> board is still supported).

Yes, that's why I've applied your patch bumping the version to 2014.10:
http://git.buildroot.net/buildroot/commit/boot?id=143119c0ef58b04bd7109bcb7b095ef98cc5311c.

> I can do this. Do you have any suggestion for providing backward
> compatibility? I have a config option for the U-Boot menu in mind, e.g.:
>             U-Boot Version (2014.10) --->
>         [ ] Use Kconfig build system (NEW)

Yes, at this point, I don't really see any other solution than having a
Config.in option: since we support fetching U-Boot from custom
location, only the user can tell if the U-Boot version uses the old
build system, or the new Kconfig/Kbuild based build system.

Of course, if 2014.10 is selected, you can automatically enable the
usage of the Kconfig build system, but for custom
versions/repositories, we have no other solution than having such a new
Config.in option.

Can you work on this idea?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list