]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
u-boot: add an option to indicate that DTC is needed
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 3 Oct 2015 19:44:13 +0000 (20:44 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 4 Oct 2015 18:17:35 +0000 (20:17 +0200)
commit76f2230d2c3b99a4ade2590e7dfc0feee312a5f3
tree943d2f298d12ae3d1061c1afe64cf38a6821626b
parent5774f07d43c8694b9640e67db771676af07c430b
u-boot: add an option to indicate that DTC is needed

Some U-Boot configurations require the Device Tree compiler to be
available, so we need to depend on host-dtc (example configuration:
zynq_zed).

However, we don't want to build it unconditionally, since the vast
majority of U-Boot configurations don't need it (and host-dtc itself
has a bunch of dependencies).

So, we simply add a Config.in option that allows users to indicate
whether their U-Boot needs DTC or not, and depend on host-dtc if this
option is enabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
boot/uboot/Config.in
boot/uboot/uboot.mk