boot/uboot: add support for the kconfig infrastructure
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 16 Jul 2015 19:19:04 +0000 (21:19 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Jul 2015 12:36:30 +0000 (14:36 +0200)
commit1e0f7ebef9e9f4ac4fcc47ed1bf4240ad39109ef
tree8f44746d4489cc71728bd841b2290942c8a531df
parent67f8138a46388f28d00dc8711b64d04ac7ebb464
boot/uboot: add support for the kconfig infrastructure

With the patchset "kconfig: turnaround into single .config"
[http://lists.denx.de/pipermail/u-boot/2015-February/205490.html]
U-Boot switched to a single .config file for board configuration. This
allows us to use the kconfig-package infrastructure.

For providing backward compatibility with older U-Boot version a user
choice between the new Kconfig and the legacy build system is
introduced.

[Thomas:
  - make use of the legacy build system the default, to not break
    existing configurations.
  - add some comments in the code checking all the configuration
    options, in order to hopefully make it a bit clearer.]

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/uboot/Config.in
boot/uboot/uboot.mk