summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-03-13 18:54:42 -0500
committerWolfgang Denk <wd@denx.de>2009-04-04 01:13:59 +0200
commit40b8d909ace06f6f494dee08ffa64a82493e72e9 (patch)
tree7a9bc5fc60b5e19b4475423fa696ab9d8e4ac4a6 /tools
parent1cd300de5e19c9e8383ee2eb2b6bd3b8b9378c78 (diff)
tools/Makefile: Add tools/ to the include search path
This change makes the process of symlinking mkimage.h and fdt_host.h unnecessary Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 35e694dfd3e..e1f262baae6 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -136,6 +136,7 @@ LIBFDT_OBJS := $(addprefix $(obj),$(LIBFDT_OBJ_FILES-y))
CPPFLAGS = -idirafter $(SRCTREE)/include \
-idirafter $(OBJTREE)/include2 \
-idirafter $(OBJTREE)/include \
+ -I $(SRCTREE)/tools \
-DTEXT_BASE=$(TEXT_BASE) -DUSE_HOSTCC
CFLAGS = $(HOST_CFLAGS) $(CPPFLAGS) -O
@@ -276,12 +277,6 @@ $(obj)sha1.c:
$(obj)image.c:
@rm -f $(obj)image.c
ln -s $(src)../common/image.c $(obj)image.c
- if [ ! -f $(obj)mkimage.h ] ; then \
- ln -s $(src)../tools/mkimage.h $(obj)mkimage.h; \
- fi
- if [ ! -f $(obj)fdt_host.h ] ; then \
- ln -s $(src)../tools/fdt_host.h $(obj)fdt_host.h; \
- fi
$(obj)fdt.c: $(obj)libfdt_internal.h
@rm -f $(obj)fdt.c