mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
cd4b02be1b
commit
2e4f35dbd8
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
#########################################################################
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
#########################################################################
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue