aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-11 22:55:31 +0200
committerWolfgang Denk <wd@denx.de>2008-07-11 22:55:31 +0200
commit184f1b404a90eef8b425c0e7b3018d59ef9982c8 (patch)
tree8448c4a278996b3611a963dcf5669fba4dc7ccb1
parent9b55a2536919f4de1bb1044e6eb8262c2f53bc96 (diff)
downloadu-boot-184f1b404a90eef8b425c0e7b3018d59ef9982c8.zip
u-boot-184f1b404a90eef8b425c0e7b3018d59ef9982c8.tar.gz
u-boot-184f1b404a90eef8b425c0e7b3018d59ef9982c8.tar.bz2
Fixed some out-of-tree build issues
Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--board/freescale/m5275evb/Makefile2
-rw-r--r--tools/gdb/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/m5275evb/Makefile b/board/freescale/m5275evb/Makefile
index ef0b19e..f337a75 100644
--- a/board/freescale/m5275evb/Makefile
+++ b/board/freescale/m5275evb/Makefile
@@ -31,7 +31,7 @@ SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
-$(LIB): .depend $(OBJS)
+$(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)
#########################################################################
diff --git a/tools/gdb/Makefile b/tools/gdb/Makefile
index 632103d..c44cc8a 100644
--- a/tools/gdb/Makefile
+++ b/tools/gdb/Makefile
@@ -47,7 +47,7 @@ HOSTOS := $(shell uname -s | sed -e 's/\([Cc][Yy][Gg][Ww][Ii][Nn]\).*/cygwin/')
ifeq ($(HOSTOS),cygwin)
all:
-.depend:
+$(obj).depend:
else # ! CYGWIN