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

2011-08-31 Thread Mike Frysinger
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

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

2011-08-31 Thread Andreas Bießmann
If one wants to use fw_printenv/fw_setenv in special variants (eg compiled in MTD parameters without configuration file) he needs to change the sources. This patch add the posibillity to change the behaviour of fw_printenv by defining a specific configuration header at compile time. Signed-off-by: