[U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

Mike Frysinger vapier at gentoo.org
Sun Oct 18 23:01:26 CEST 2009


On Sunday 18 October 2009 16:53:54 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
> > CONFIG_BUILD_ENVCRC that only enables the envcrc utility.
> >
> > Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> > ---
> > v4
> > 	- rename config option to CONFIG_BUILD_ENVCRC
> >
> >  README                |    5 +++++
> >  common/Makefile       |    3 ---
> >  common/env_embedded.c |    7 -------
> >  include/common.h      |    5 +++++
> >  tools/Makefile        |    9 ++-------
> >  tools/envcrc.c        |   11 +----------
> >  6 files changed, 13 insertions(+), 27 deletions(-)
> 
> Applied, thanks.
> 
> [My understanding is that patch 2/2 will go through your BF repo now,
> right?]

i can do that since it's already in my vendor branch
-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/20091018/ee0e5118/attachment.pgp 


More information about the U-Boot mailing list