Add support for U-Boots Kbuild & Kconfig build system
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 14 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 14 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 00/14] Add support for U-Boots Kbuild & Kconfig build system
Dear J?rg Krause,
Quoted 10 lines · J?rg Krause
Quoted 6 lines
Quoted 6 lines
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.
Quoted 4 lines
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) --->
[ ] UseKconfigbuild 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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com