From 2e4f35dbd8e11c3121af99ea8e04ce4fb39e9a4e Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sat, 15 May 2010 20:22:21 +0200 Subject: 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 Cc: Andre Schwarz --- board/matrix_vision/mvblm7/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board/matrix_vision/mvblm7/Makefile') diff --git a/board/matrix_vision/mvblm7/Makefile b/board/matrix_vision/mvblm7/Makefile index b3e3e0b..12c7cb6 100644 --- a/board/matrix_vision/mvblm7/Makefile +++ b/board/matrix_vision/mvblm7/Makefile @@ -32,13 +32,13 @@ SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) $(AR) $(ARFLAGS) $@ $(OBJS) - @mkimage -T script -C none -n M7_script -d bootscript bootscript.img + @mkimage -T script -C none -n M7_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 ######################################################################### -- cgit v1.1