summaryrefslogtreecommitdiff
path: root/board/bf533-stamp/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/bf533-stamp/Makefile
parent3dd9395a0d7ce69a335d0e743c04b9caedd681d3 (diff)
parent032a1c934ef4dc003281f57302b6e693062c1868 (diff)
downloadu-boot-imx-950309c6436ff78d2166377da34bfdb0ae00a4a4.zip
u-boot-imx-950309c6436ff78d2166377da34bfdb0ae00a4a4.tar.gz
u-boot-imx-950309c6436ff78d2166377da34bfdb0ae00a4a4.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'board/bf533-stamp/Makefile')
-rw-r--r--board/bf533-stamp/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/board/bf533-stamp/Makefile b/board/bf533-stamp/Makefile
index 21f6ad1..5ae0228 100644
--- a/board/bf533-stamp/Makefile
+++ b/board/bf533-stamp/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)