[U-Boot] [U-Boot, 2/2] cmd: Make CONFIG_CMD_FPGA depend on CONFIG_FPGA
Tom Rini
trini at konsulko.com
Tue Feb 6 01:58:40 UTC 2018
On Sat, Jan 27, 2018 at 08:28:40PM +0200, Tuomas Tynkkynen wrote:
> cmd/Makefile has:
>
> ifdef CONFIG_FPGA
> obj-$(CONFIG_CMD_FPGA) += fpga.o
> endif
>
> which means that if CONFIG_FPGA is not set, CONFIG_CMD_FPGA silently
> does nothing. Let's remove that Makefile conditional and instead express
> this equivalent dependency in Kconfig, so a lot of redundant
>
> # CONFIG_CMD_FPGA is not set
>
> can be removed from board defconfigs that don't actually have an FPGA.
>
> Signed-off-by: Tuomas Tynkkynen <tuomas at tuxera.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180205/acc26f21/attachment.sig>
More information about the U-Boot
mailing list