From 64b3727b9779d86127cd576e392a987de5ebb9fd Mon Sep 17 00:00:00 2001 From: Markus Klotzbücher Date: Tue, 27 Nov 2007 10:23:20 +0100 Subject: 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 35e90315f..46156f2ac 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 -- cgit v1.2.3