uboot: add option to optionally depend on host-openssl
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 16 Oct 2016 07:42:22 +0000 (09:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 Oct 2016 21:31:09 +0000 (23:31 +0200)
commit02e11d02f40ad2ec236bdcc6359729dbf2604069
treedd3ba21bf13d87b1f533f2929ac2cd8be6ff51c5
parent630708155498a4a4c4e1f90e25eabd23951982d9
uboot: add option to optionally depend on host-openssl

Some U-Boot board configurations have CONFIG_FIT_SIGNATURE=y. In this
case, when U-Boot builds its tools, it requires OpenSSL support on the
host system.

Since we clearly don't want to unconditionally depend on host-openssl,
we introduce a new option to explicitly enable the dependency on
host-openssl. This is exactly identical to the existing
BR2_TARGET_UBOOT_NEEDS_DTC, for the dependency on host-dtc. It is
therefore the responsibility of the user to enable this option if his
board configuration uses CONFIG_FIT_SIGNATURE=y.

Necessary to fix bug #9316.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/uboot/Config.in
boot/uboot/uboot.mk