summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-03-13 18:54:45 -0500
committerWolfgang Denk <wd@denx.de>2009-04-04 01:14:19 +0200
commitc0170175393b94560fa7a5da6dd31377df5f4a72 (patch)
treef20442c144b3c82a01d7d9bf904bd370ede1d040 /tools/Makefile
parent45d6bdff68877ea214ff33cc1c89a29c76e96f51 (diff)
downloadu-boot-imx-c0170175393b94560fa7a5da6dd31377df5f4a72.zip
u-boot-imx-c0170175393b94560fa7a5da6dd31377df5f4a72.tar.gz
u-boot-imx-c0170175393b94560fa7a5da6dd31377df5f4a72.tar.bz2
tools/Makefile: Remove symlinks for fdt targets
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile32
1 files changed, 7 insertions, 25 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 294d388..ef51abc 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -22,6 +22,7 @@
#
TOOLSUBDIRS =
+LIBFDT_DIR = $(SRCTREE)/libfdt/
#
# Mac OS X / Darwin's C preprocessor is Apple specific. It
@@ -223,19 +224,20 @@ $(obj)inca-swap-bytes.o: $(src)inca-swap-bytes.c
$(obj)mpc86x_clk.o: $(src)mpc86x_clk.c
$(CC) -g $(CFLAGS) -c -o $@ $<
-$(obj)fdt.o: $(obj)fdt.c
+$(obj)fdt.o: $(LIBFDT_DIR)fdt.c $(SRCTREE)/libfdt/libfdt_internal.h
$(CC) -g $(FIT_CFLAGS) -c -o $@ $<
-$(obj)fdt_ro.o: $(obj)fdt_ro.c
+$(obj)fdt_ro.o: $(LIBFDT_DIR)fdt_ro.c $(SRCTREE)/libfdt/libfdt_internal.h
$(CC) -g $(FIT_CFLAGS) -c -o $@ $<
-$(obj)fdt_rw.o: $(obj)fdt_rw.c
+$(obj)fdt_rw.o: $(LIBFDT_DIR)fdt_rw.c $(SRCTREE)/libfdt/libfdt_internal.h
$(CC) -g $(FIT_CFLAGS) -c -o $@ $<
-$(obj)fdt_strerror.o: $(obj)fdt_strerror.c
+$(obj)fdt_strerror.o: $(LIBFDT_DIR)fdt_strerror.c \
+ $(SRCTREE)/libfdt/libfdt_internal.h
$(CC) -g $(FIT_CFLAGS) -c -o $@ $<
-$(obj)fdt_wip.o: $(obj)fdt_wip.c
+$(obj)fdt_wip.o: $(LIBFDT_DIR)fdt_wip.c $(SRCTREE)/libfdt/libfdt_internal.h
$(CC) -g $(FIT_CFLAGS) -c -o $@ $<
subdirs:
@@ -275,26 +277,6 @@ $(obj)image.c:
@rm -f $(obj)image.c
ln -s $(src)../common/image.c $(obj)image.c
-$(obj)fdt.c: $(SRCTREE)/libfdt/libfdt_internal.h
- @rm -f $(obj)fdt.c
- ln -s $(src)../libfdt/fdt.c $(obj)fdt.c
-
-$(obj)fdt_ro.c: $(SRCTREE)/libfdt/libfdt_internal.h
- @rm -f $(obj)fdt_ro.c
- ln -s $(src)../libfdt/fdt_ro.c $(obj)fdt_ro.c
-
-$(obj)fdt_rw.c: $(SRCTREE)/libfdt/libfdt_internal.h
- @rm -f $(obj)fdt_rw.c
- ln -s $(src)../libfdt/fdt_rw.c $(obj)fdt_rw.c
-
-$(obj)fdt_strerror.c: $(SRCTREE)/libfdt/libfdt_internal.h
- @rm -f $(obj)fdt_strerror.c
- ln -s $(src)../libfdt/fdt_strerror.c $(obj)fdt_strerror.c
-
-$(obj)fdt_wip.c: $(SRCTREE)/libfdt/libfdt_internal.h
- @rm -f $(obj)fdt_wip.c
- ln -s $(src)../libfdt/fdt_wip.c $(obj)fdt_wip.c
-
$(LOGO_H): $(obj)bmp_logo $(LOGO_BMP)
$(obj)./bmp_logo $(LOGO_BMP) >$@