From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 5 Feb 2018 20:58:40 -0500 Subject: [U-Boot] [U-Boot, 2/2] cmd: Make CONFIG_CMD_FPGA depend on CONFIG_FPGA In-Reply-To: <20180127182840.12791-2-tuomas@tuxera.com> References: <20180127182840.12791-2-tuomas@tuxera.com> Message-ID: <20180206015840.GQ4297@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: