summaryrefslogtreecommitdiff
path: root/board/matrix_vision/mvsmr
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-05-15 20:22:21 +0200
committerWolfgang Denk <wd@denx.de>2010-05-15 20:22:21 +0200
commit2e4f35dbd8e11c3121af99ea8e04ce4fb39e9a4e (patch)
treebd25f55ef698bfe5d8f198453fabd5787e09dfcb /board/matrix_vision/mvsmr
parentcd4b02be1bb732f3990801ff81b57bd597b1d5b6 (diff)
downloadu-boot-imx-2e4f35dbd8e11c3121af99ea8e04ce4fb39e9a4e.zip
u-boot-imx-2e4f35dbd8e11c3121af99ea8e04ce4fb39e9a4e.tar.gz
u-boot-imx-2e4f35dbd8e11c3121af99ea8e04ce4fb39e9a4e.tar.bz2
MVBLM7, MVSMR: fix Makefile (cleanup bootscript.img)
Fix MVBLM7 and MVSMR Makefiles for correct out-of-tree building (create "bootscript.img" in build directory instead of source directory) and cleanup (remove "bootscript.img" when cleaning up). Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Andre Schwarz <andre.schwarz@matrix-vision.de>
Diffstat (limited to 'board/matrix_vision/mvsmr')
-rw-r--r--board/matrix_vision/mvsmr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/matrix_vision/mvsmr/Makefile b/board/matrix_vision/mvsmr/Makefile
index b179e6d..2817fe0 100644
--- a/board/matrix_vision/mvsmr/Makefile
+++ b/board/matrix_vision/mvsmr/Makefile
@@ -36,13 +36,13 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)
- @mkimage -T script -C none -n mvSMR_Script -d bootscript bootscript.img
+ @mkimage -T script -C none -n mvSMR_Script -d bootscript $(obj)bootscript.img
clean:
rm -f $(SOBJS) $(OBJS)
distclean: clean
- rm -f $(LIB) core *.bak $(obj).depend
+ rm -f $(LIB) core *.bak $(obj).depend $(obj)bootscript.img
#########################################################################