Hello,

On Wed, 5 Dec 2018 11:37:54 +0100, Boris Brezillon wrote:

> ifeq (,$(findstring y,$(CONFIG_CMD_NAND)$(CONFIG_CMD_SF)))

This could be "simplified" as:

ifneq ($(CONFIG_CMD_NAND)$(CONFIG_CMD_SF),)

if either of the options is 'y', the string is non-empty, so the
condition will be true.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to