summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-03-13 18:54:43 -0500
committerWolfgang Denk <wd@denx.de>2009-04-04 01:14:09 +0200
commitfba0e3a0814f9bf48c32a4c8a7987c36ae96651b (patch)
tree0cbcd5786e66d07b032270e1a22942b96c7d7afe /tools/Makefile
parent40b8d909ace06f6f494dee08ffa64a82493e72e9 (diff)
downloadu-boot-imx-fba0e3a0814f9bf48c32a4c8a7987c36ae96651b.zip
u-boot-imx-fba0e3a0814f9bf48c32a4c8a7987c36ae96651b.tar.gz
u-boot-imx-fba0e3a0814f9bf48c32a4c8a7987c36ae96651b.tar.bz2
tools: Remove unecessary symlinking of zlib.h
crc32.c uses the zlib.h header in include/u-boot/zlib.h. The symlink was previously necessary to give U-Boot's version of zlib.h precedence over the host computer's version of zlib.h. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/Makefile b/tools/Makefile
index e1f262b..037f61b 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -258,11 +258,7 @@ $(obj)env_embedded.c:
$(obj)env_embedded.o: $(obj)env_embedded.c
$(CC) -g $(HOST_ENVIRO_CFLAGS) $(CPPFLAGS) -c -o $@ $<
-$(obj)zlib.h:
- @rm -f $@
- ln -s $(src)../include/zlib.h $@
-
-$(obj)crc32.c: $(obj)zlib.h
+$(obj)crc32.c: $(SRCTREE)/include/u-boot/zlib.h
@rm -f $(obj)crc32.c
ln -s $(src)../lib_generic/crc32.c $(obj)crc32.c