summaryrefslogtreecommitdiffstats
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 1f16768aaf..ea2d5b5a01 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)
OpenPOWER on IntegriCloud