[U-Boot-Users] [PATCH: cmdcfg: 00/19] Introduce initial versions of new Command Config files.

Jon Loeliger jdl at jdl.com
Tue Jun 12 18:07:40 CEST 2007


So, like, the other day Wolfgang Denk mumbled:
> In message <466EBA23.4030308 at freescale.com> you wrote:
> >
> > #ifdef CONFIG_CMD_AUTOSCRIPT
> > #undef CONFIG_CMD_AUTOSCRIPT
> > #define CONFIG_CMD_AUTOSCRIPT CONFIG_CMD_AUTOSCRIPT
> > #else
> > #define CONFIG_CMD_AUTOSCRIPT 0
> > #endif
> 
> #define foo foo ??? Not that looks uterly strange to me...
> 
> > ... ( repeat for each CONFIG_CMD_x )
> 
> grrrghh....

I agree.

> > With this technique, you won't need to modify all of the source files that use
> > CONFIG_COMMANDS.
> 
> But we *do* want to modify all files to move them to using the new
> scheme.

And my follow up patch will series do it again too!

Thanks,
jdl




More information about the U-Boot mailing list