[U-Boot] [RFC 1/3] tools/env: Default to the config specified in FW_CONFIG_FILE
Stefano Babic
sbabic at denx.de
Sat Dec 4 11:59:22 CET 2010
On 12/04/2010 05:28 AM, Steve Sakoman wrote:
> From: Loïc Minier <loic.minier at linaro.org>
>
Hi,
> #if defined(CONFIG_FILE)
> + /* Default to the config file specified in FW_CONFIG_FILE */
> + char *config_file = getenv("FW_CONFIG_FILE");
What about to pass the configuration file on the command line instead of
an environment variable ? Something like "fw_env -c /etc/fw_config", for
example ? IMHO it is easier to understand and we can add documentation
in the "help" message.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list