[U-Boot] [PATCH] tools/env: add posibility to inject configuration

Mike Frysinger vapier at gentoo.org
Wed Aug 31 16:39:45 CEST 2011


On Wednesday, August 31, 2011 06:06:09 Andreas Bießmann wrote:
> --- a/tools/env/Makefile
> +++ b/tools/env/Makefile
> 
> +FW_ENV_CONFIG_IN := $(if
> $(FW_ENV_CONFIG),$(FW_ENV_CONFIG),fw_env_config.h.in)

sorry, but what is the point of this ?  why not just do:
FW_ENV_CONFIG ?= fw_env_config.h.in

> --- a/tools/env/fw_env.h
> +++ b/tools/env/fw_env.h
>
> +#endif // _FW_ENV_H_
>
> --- /dev/null
> +++ b/tools/env/fw_env_config.h.in
>
> +#endif // _FW_ENV_CONFIG_H_

no // C++ comments.  just delete them and be done.
-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/20110831/ad673979/attachment.pgp 


More information about the U-Boot mailing list