]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - tools/env/Makefile
imported U-Boot Release 2009.08 from Freescale BSP L2.6.31_10.08.01
[karo-tx-uboot.git] / tools / env / Makefile
index 1f16768aaf72652e98fbcd9b40a9ea49a6a7d645..9629ee58ef1298d5ef8edfad8b6e329fb61131fb 100755 (executable)
@@ -26,7 +26,11 @@ include $(TOPDIR)/config.mk
 SRCS   := $(obj)crc32.c  fw_env.c  fw_env_main.c
 HEADERS        := fw_env.h
 
-CPPFLAGS := -Wall -DUSE_HOSTCC
+CPPFLAGS := -Wall -DUSE_HOSTCC -I$(SRCTREE)/include
+
+ifeq ($(MTD_VERSION),old)
+CPPFLAGS += -DMTD_OLD
+endif
 
 all:   $(obj)fw_printenv