]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/env/Makefile
tools: fix fw_printenv tool to compile again
[karo-tx-uboot.git] / tools / env / Makefile
index 1f16768aaf72652e98fbcd9b40a9ea49a6a7d645..ea2d5b5a01b9937e4dd5da492a096b1731bab427 100644 (file)
@@ -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)