diff options
author | Markus Klotzbücher <mk@denx.de> | 2007-11-27 12:23:20 +0300 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-09 00:53:01 +0300 |
commit | 6de66b35426312a21174a9bf0576a094e2904bea (patch) | |
tree | 669558857036d28d3823ae7968490dd2c525c93e /tools/env/README | |
parent | ce37422d0002e10490e268392e0c4e3028e52cec (diff) | |
download | u-boot-6de66b35426312a21174a9bf0576a094e2904bea.tar.xz |
tools: fix fw_printenv tool to compile again
This patch updates the fw_printenv/fw_setenv userspace tool to include
the correct MTD header in order to compile against current kernel
headers. Backward compatibility is preserved by introducing an option
MTD_VERSION which can be set to "old" for compilation using the old MTD
headers. Along with this a number of warnings are fixed.
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
Diffstat (limited to 'tools/env/README')
-rw-r--r-- | tools/env/README | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/env/README b/tools/env/README index d8386f7f2d..f8a644e0c2 100644 --- a/tools/env/README +++ b/tools/env/README @@ -6,6 +6,10 @@ For the run-time utiltity configuration uncomment the line #define CONFIG_FILE "/etc/fw_env.config" in fw_env.h. +For building against older versions of the MTD headers (meaning before +v2.6.8-rc1) it is required to pass the argument "MTD_VERSION=old" to +make. + See comments in the fw_env.config file for definitions for the particular board. |