projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ppc/p4080: Add p4080 platform immap definitions
[oweals/u-boot.git]
/
tools
/
env
/
Makefile
diff --git
a/tools/env/Makefile
b/tools/env/Makefile
index 1f16768aaf72652e98fbcd9b40a9ea49a6a7d645..9629ee58ef1298d5ef8edfad8b6e329fb61131fb 100644
(file)
--- a/
tools/env/Makefile
+++ b/
tools/env/Makefile
@@
-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