summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarkus Klotzbücher <mk@denx.de>2007-11-27 10:23:20 +0100
committerWolfgang Denk <wd@denx.de>2008-01-08 22:53:01 +0100
commit6de66b35426312a21174a9bf0576a094e2904bea (patch)
tree669558857036d28d3823ae7968490dd2c525c93e /Makefile
parentce37422d0002e10490e268392e0c4e3028e52cec (diff)
downloadu-boot-imx-6de66b35426312a21174a9bf0576a094e2904bea.zip
u-boot-imx-6de66b35426312a21174a9bf0576a094e2904bea.tar.gz
u-boot-imx-6de66b35426312a21174a9bf0576a094e2904bea.tar.bz2
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 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 189e1de..d34fd04 100644
--- a/Makefile
+++ b/Makefile
@@ -329,7 +329,7 @@ updater:
$(MAKE) -C tools/updater all || exit 1
env:
- $(MAKE) -C tools/env all || exit 1
+ $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1
depend dep: version
for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done