[U-Boot-Users] RFC: hidden environment variables

Wolfgang Denk wd at denx.de
Tue Apr 24 01:52:20 CEST 2007


In message <462D3DD4.2090500 at freescale.com> you wrote:
>
> > If you don't want to break compatibility with  existing  systems  you
> > ill  have  to  maintain a separate list anyway - either in the source
> > code, or in the environment ;-)
> 
> Well, the point behind having hidden variables is that the source code which needs to use 
> a hidden variable can just call _do_setenv() (or whatever) and have it set an environment 
> variable that is hidden.  My preference would be that any variable that starts with a dot 
> (.) is hidden.  That way, the source code doesn't really need to have a separate list.  It 
> just names its variables with a dot.  The rest is automatic.

So far, this is a perfectly legal variable name in U-Boot. You cannot
change the meaning of such names without breaking compatibility  with
existing systems that might use such names.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
One possible reason that things aren't going  according  to  plan  is
that there never was a plan in the first place.




More information about the U-Boot mailing list