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

Mike Frysinger
2011-08-31T14:39:45Z

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