From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miquel Raynal Date: Wed, 5 Dec 2018 12:15:25 +0100 Subject: [U-Boot] [PATCH v3 25/28] cmd: nand/sf: isolate legacy code In-Reply-To: <20181205115352.5d9490a8@windsurf> References: <20181204235714.11805-1-miquel.raynal@bootlin.com> <20181204235714.11805-26-miquel.raynal@bootlin.com> <20181205113754.3d0272ef@bbrezillon> <20181205115352.5d9490a8@windsurf> Message-ID: <20181205121525.23b6cf6b@xps13> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Hello, Thomas Petazzoni wrote on Wed, 5 Dec 2018 11:53:52 +0100: > Hello, >=20 > On Wed, 5 Dec 2018 11:37:54 +0100, Boris Brezillon wrote: >=20 > > ifeq (,$(findstring y,$(CONFIG_CMD_NAND)$(CONFIG_CMD_SF))) =20 >=20 > This could be "simplified" as: >=20 > ifneq ($(CONFIG_CMD_NAND)$(CONFIG_CMD_SF),) >=20 > if either of the options is 'y', the string is non-empty, so the > condition will be true. Thank you both of you, I will use this trick to avoid build failures with the situation raised by Boris. Thanks, Miqu=C3=A8l