tweak makefile targets recovery and fullimage

This commit is contained in:
Philippe Teuwen 2019-09-04 19:14:34 +02:00
parent affecd63bf
commit 9d620922bb

View file

@ -92,7 +92,9 @@ armsrc/%: FORCE cleanifplatformchanged fpga_compress/%
client/%: FORCE client/%: FORCE
$(info [*] MAKE $@) $(info [*] MAKE $@)
$(Q)$(MAKE) --no-print-directory -C client $(patsubst client/%,%,$@) DESTDIR=$(MYDESTDIR) $(Q)$(MAKE) --no-print-directory -C client $(patsubst client/%,%,$@) DESTDIR=$(MYDESTDIR)
recovery/%: FORCE cleanifplatformchanged bootrom/% armsrc/% recovery/all: bootrom/all armsrc/all
recovery/install: bootrom/all armsrc/all
recovery/%: FORCE cleanifplatformchanged
$(info [*] MAKE $@) $(info [*] MAKE $@)
$(Q)$(MAKE) --no-print-directory -C recovery $(patsubst recovery/%,%,$@) DESTDIR=$(MYDESTDIR) $(Q)$(MAKE) --no-print-directory -C recovery $(patsubst recovery/%,%,$@) DESTDIR=$(MYDESTDIR)
FORCE: # Dummy target to force remake in the subdirectories, even if files exist (this Makefile doesn't know about the prerequisites) FORCE: # Dummy target to force remake in the subdirectories, even if files exist (this Makefile doesn't know about the prerequisites)
@ -126,12 +128,18 @@ client: client/all
bootrom: bootrom/all bootrom: bootrom/all
# aliases fullimage = armsrc
fullimage: armsrc/all fullimage: armsrc/all
fullimage/all: armsrc/all
fullimage/clean: armsrc/clean fullimage/clean: armsrc/clean
fullimage/install: armsrc/install fullimage/install: armsrc/install
fullimage/uninstall: armsrc/uninstall
recovery: recovery/all recovery: recovery/all
mfkey: mfkey/all mfkey: mfkey/all