summaryrefslogtreecommitdiff
path: root/board/bf561-ezkit/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-01-10 18:18:37 +0100
committerWolfgang Denk <wd@denx.de>2009-01-10 18:18:37 +0100
commit950309c6436ff78d2166377da34bfdb0ae00a4a4 (patch)
tree77fee7945ade9471aef1dff0204858f217a78245 /board/bf561-ezkit/Makefile
parent3dd9395a0d7ce69a335d0e743c04b9caedd681d3 (diff)
parent032a1c934ef4dc003281f57302b6e693062c1868 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'board/bf561-ezkit/Makefile')
-rw-r--r--board/bf561-ezkit/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/board/bf561-ezkit/Makefile b/board/bf561-ezkit/Makefile
index a1a4433fc..e7ee24356 100644
--- a/board/bf561-ezkit/Makefile
+++ b/board/bf561-ezkit/Makefile
@@ -35,12 +35,11 @@ SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
-$(LIB): $(obj).depend $(OBJS) $(SOBJS) u-boot.lds
+$(LIB): $(obj).depend $(OBJS) $(SOBJS) $(obj)u-boot.lds
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
-u-boot.lds: u-boot.lds.S
- $(CPP) $(CPPFLAGS) -D__ASSEMBLY__ -P -Ubfin $^ > $@.tmp
- mv -f $@.tmp $@
+$(obj)u-boot.lds: u-boot.lds.S
+ $(CPP) $(CPPFLAGS) -D__ASSEMBLY__ -P $^ > $@
clean:
rm -f $(SOBJS) $(OBJS)