[U-Boot] [PATCH v2] env: only build env_embedded and envcrc when needed

Mike Frysinger vapier at gentoo.org
Wed Sep 9 16:02:39 CEST 2009


On Wednesday 09 September 2009 09:33:20 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > The env code is protected by the ENV_IS_EMBEDDED define, so attempting to
> > compile the code when this isn't defined is pointless.  Now that the env
> > headers have unified around CONFIG_ENV_IS_EMBEDDED, convert the build
> > system to only build the env objects when this is enabled.  And now that
> > the env code is conditionally compiled, we can drop the source code
> > checks.
> >
> > For people who want to extract the environment manually, add a new option
> > that only enables the envcrc utility.
> 
> Add a new option...?
> 
> I guess this is CONFIG_ENV_IS_EMBEDDED_CUSTOM then?
> 
> Hm... but I see no users of this variable, nobody is setting it?

Blackfin has been using ENV_IS_EMBEDDED_CUSTOM.  i have a patch to update it 
to CONFIG_xxx, but was waiting for this to be accepted first.

> Also, I see no documentation for it?

guessing you want it added to the top level README ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090909/4617c0f5/attachment.pgp 


More information about the U-Boot mailing list