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-09 09:51:12 +0100
commit64b3727b9779d86127cd576e392a987de5ebb9fd (patch)
tree3a7c11233db896f0e32bf4079f0c8e5327e60fe1 /Makefile
parent74ac5facb988fc488a707db228b177ead63a6541 (diff)
downloadu-boot-imx-64b3727b9779d86127cd576e392a987de5ebb9fd.zip
u-boot-imx-64b3727b9779d86127cd576e392a987de5ebb9fd.tar.gz
u-boot-imx-64b3727b9779d86127cd576e392a987de5ebb9fd.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 35e9031..46156f2 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