Re: [U-Boot] [PATCH] Move the preprocessor test for building flash.c to the Makefile.

2009-11-19 Thread Robert P. J. Day
On Thu, 19 Nov 2009, Mike Frysinger wrote: > On Thursday 19 November 2009 12:38:42 Robert P. J. Day wrote: > > --- a/common/Makefile > > +++ b/common/Makefile > > @@ -152,7 +152,9 @@ COBJS-$(CONFIG_VFD) += cmd_vfd.o > > COBJS-$(CONFIG_DDR_SPD) += ddr_spd.o > > COBJS-$(CONFIG_HWCONFIG) += hwconfi

Re: [U-Boot] [PATCH] Move the preprocessor test for building flash.c to the Makefile.

2009-11-19 Thread Mike Frysinger
On Thursday 19 November 2009 12:38:42 Robert P. J. Day wrote: > --- a/common/Makefile > +++ b/common/Makefile > @@ -152,7 +152,9 @@ COBJS-$(CONFIG_VFD) += cmd_vfd.o > COBJS-$(CONFIG_DDR_SPD) += ddr_spd.o > COBJS-$(CONFIG_HWCONFIG) += hwconfig.o > COBJS-$(CONFIG_CONSOLE_MUX) += iomux.o > +#ifndef

[U-Boot] [PATCH] Move the preprocessor test for building flash.c to the Makefile.

2009-11-19 Thread Robert P. J. Day
Move the preprocessor test of CONFIG_SYS_NO_FLASH out of flash.c and back to the Makefile, for readability. Signed-off-by: Robert P. J. Day --- this one is a little uglier since it adds an "#ifndef" check to the Makefile, but i still consider this to be more readable since it's potentially m