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

Wolfgang Denk wd at denx.de
Tue Jun 12 18:56:24 CEST 2007


In message <466EC4FB.9070706 at freescale.com> you wrote:
>
> #define CONFIG_CMD_AUTOSCRIPT CFG_CMD_AUTOSCRIPT
> 
> >> ... ( repeat for each CONFIG_CMD_x )
> > grrrghh....
> 
> It's still better than modifying dozens of source files!

No, it's worse, as it would mean that such mess sticks forever.

Let's do it once, and right, even if it's a painful operation.

> > But we *do* want to modify all files to move them to using the new
> > scheme.
> 
> Only when we remove the old method entirely.  This is a transitional patch - it allows 
> config header files to use CONFIG_CMD_xxx today, and it avoids complicated #if pragmas in 
> all those source files.

Transition will be very short here - see Jon's comment.

And the old method will be removed, soon and completely.

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
Pig: An animal (Porcus omnivorous) closely allied to the  human  race
by  the splendor and vivacity of its appetite, which, however, is in-
ferior in scope, for it balks at pig.                - Ambrose Bierce




More information about the U-Boot mailing list