Commit ffac3c6f authored by Anton Midyukov's avatar Anton Midyukov

main.mk: Added vm/, ve/ targets into everything target

For check all targets.
parent a2122b69
......@@ -61,8 +61,10 @@ VE_TARGETS := $(call targets,ve)
VM_TARGETS := $(call targets,vm)
DISTROS := $(call addsuffices,$(DISTRO_EXTS),$(DISTRO_TARGETS))
VES := $(call addsuffices,$(VE_EXTS),$(VE_TARGETS))
VES_TAR := $(call addsuffices,.tar,$(VE_TARGETS))
VMS := $(call addsuffices,$(VM_EXTS),$(VM_TARGETS)) \
$(call addsuffices,$(VM_TAVOLGA_EXTS), $(filter vm/tavolga-%, $(VM_TARGETS)))
VMS_IMG := $(call addsuffices,.img,$(VM_TARGETS))
IMAGES := $(DISTROS) $(VES) $(VMS)
.PHONY: $(IMAGES) $(DISTRO_TARGETS) $(VE_TARGETS) $(VM_TARGETS)
......@@ -73,8 +75,8 @@ export LC_MESSAGES=C
### duplicate but still needed
everything:
@n=1; sum=$(words $(DISTROS)); \
for distro in $(DISTROS); do \
@n=1; sum=$(words $(DISTROS) $(VES_TAR) $(VMS_IMG)); \
for distro in $(DISTROS) $(VES_TAR) $(VMS_IMG); do \
echo "** building $$distro [$$n/$$sum]:"; \
$(MAKE) -f main.mk --no-print-directory $$distro; \
[ "$$n" -lt "$$sum" ] && echo; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment