Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[mbr] Fix header cleaning

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

Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information...
commit f5aec95d14f509f40cf3b419ee2d5d590501d031 1 parent b23717b
@hxw hxw authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 samo-lib/mbr/Makefile
View
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
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
Please sign in to comment.
Something went wrong with that request. Please try again.