On 04/04/2013 02:47 PM, Wolfgang Denk wrote: > Dear York Sun, > > In message <515deed2.90...@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. >
Right. I will go with Tom's suggestion. York _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot