Fixed some out-of-tree build issues
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
9b55a25369
commit
184f1b404a
@ -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)
|
||||
|
||||
#########################################################################
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user