Browse files

[mbr] Fix header cleaning

Assign all image headers to variable so build and clean will
be consistent.

Signed-off-by: Christopher Hall <>
  • Loading branch information...
1 parent b23717b commit f5aec95d14f509f40cf3b419ee2d5d590501d031 @hxw hxw committed Oct 27, 2009
Showing with 4 additions and 2 deletions.
  1. +4 −2 samo-lib/mbr/Makefile
6 samo-lib/mbr/Makefile
@@ -104,7 +104,9 @@ endef
# Applications for the boot loader
-$(call MAKE_APP,menu,misc.o,splash.h empty.h adjust.h)
+IMAGE_HEADERS = splash.h empty.h adjust.h
+$(call MAKE_APP,menu,misc.o,${IMAGE_HEADERS})
$(call MAKE_APP,hello,misc.o)
$(call MAKE_APP,memory-test,misc.o)
$(call MAKE_APP,hw-test,misc.o)
@@ -137,7 +139,7 @@ install: all
.PHONY: clean
- rm -rf ${TARGETS} ${APPLICATIONS_CLEAN} *.o *.elf *.d *.asm33 *.header *.map splash.h empty.h *.rom
+ rm -rf ${TARGETS} ${APPLICATIONS_CLEAN} *.o *.elf *.d *.asm33 *.header *.map *.rom ${IMAGE_HEADERS}
# application headers
%.header: %.c

0 comments on commit f5aec95

Please sign in to comment.