summaryrefslogtreecommitdiff
path: root/tools/env/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/env/Makefile')
-rw-r--r--tools/env/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/env/Makefile b/tools/env/Makefile
index 1f16768..ea2d5b5 100644
--- a/tools/env/Makefile
+++ b/tools/env/Makefile
@@ -28,6 +28,10 @@ HEADERS := fw_env.h
CPPFLAGS := -Wall -DUSE_HOSTCC
+ifeq ($(MTD_VERSION),old)
+CPPFLAGS += -DMTD_OLD
+endif
+
all: $(obj)fw_printenv
$(obj)fw_printenv: $(SRCS) $(HEADERS)