From: Wolfgang Denk Date: Thu, 04 Apr 2013 23:47:36 +0200 Subject: [U-Boot] [PATCH] CRITICAL error in v2013.04-rc2 (true and false not working) In-Reply-To: <515DEED2.90908@freescale.com> References: <201304041946.55455@pali> <20130404203307.266C02015BE@gemini.denx.de> <515DEB0E.7040709@freescale.com> <201304042319.39473@pali> <515DEED2.90908@freescale.com> Message-ID: <20130404214736.0AC302015BE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear York Sun, In message <515DEED2.90908@freescale.com> you wrote: > > Would this fix be acceptable? No... > +#ifdef true > +#undef true > +#undef false > + > U_BOOT_CMD( > false, CONFIG_SYS_MAXARGS, 1, do_false, > "do nothing, unsuccessfully", > @@ -171,3 +175,5 @@ U_BOOT_CMD( > "do nothing, successfully", > NULL > ); > + > +#endif ... as it would completely remove the command entries if "true" was not defined. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A right is not what someone gives you; it's what no one can take from you. - Ramsey Clark