Makefile: make everything
$(IMAGES) in prerequisites definitely won't work, so let's do it straightforward.
This commit is contained in:
parent
0c98733338
commit
3373a7bc89
5
Makefile
5
Makefile
@ -18,6 +18,8 @@ include distro.mk
|
||||
include log.mk
|
||||
include iso.mk
|
||||
|
||||
.PHONY: $(IMAGES)
|
||||
|
||||
# we can't use implicit rules for top-level targets, only for prereqs
|
||||
# NB: what about static pattern rules?
|
||||
# TODO: move into libdistro?
|
||||
@ -30,6 +32,9 @@ IMAGEDIR ?= $(shell [ -d "$$HOME/out" -a -w "$$HOME/out" ] \
|
||||
|| echo "$(BUILDDIR)/out" )
|
||||
IMAGENAME ?= mkimage-profiles-$(ARCH).iso
|
||||
|
||||
everything:
|
||||
@for i in $(IMAGES); do $(MAKE) BUILDDIR=$(BUILDDIR) $$i; done
|
||||
|
||||
$(IMAGES): %.iso: | profile/init distro/% boot/isolinux profile/populate iso
|
||||
@# TODO: run automated tests (e.g. iso size)
|
||||
@OUTNAME="$(@:.iso=)-$(DATE)-$(ARCH).iso"; \
|
||||
|
Loading…
Reference in New Issue
Block a user