Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
0d9535e7
Commit
0d9535e7
authored
Aug 24, 2025
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main.mk: limit everything distro with extension iso
We reduce the number of targets by a third. It is pointless to build distro with tar extension.
parent
649769e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
main.mk
main.mk
+3
-2
No files found.
main.mk
View file @
0d9535e7
...
@@ -63,6 +63,7 @@ DISTRO_TARGETS := $(call targets,distro)
...
@@ -63,6 +63,7 @@ DISTRO_TARGETS := $(call targets,distro)
VE_TARGETS := $(call targets,ve)
VE_TARGETS := $(call targets,ve)
VM_TARGETS := $(call targets,vm)
VM_TARGETS := $(call targets,vm)
DISTROS := $(call addsuffices,$(DISTRO_EXTS),$(DISTRO_TARGETS))
DISTROS := $(call addsuffices,$(DISTRO_EXTS),$(DISTRO_TARGETS))
DISTROS_ISO := $(call addsuffices,.iso,$(DISTRO_TARGETS))
VES := $(call addsuffices,$(VE_EXTS),$(VE_TARGETS))
VES := $(call addsuffices,$(VE_EXTS),$(VE_TARGETS))
VES_TAR := $(call addsuffices,.tar,$(VE_TARGETS))
VES_TAR := $(call addsuffices,.tar,$(VE_TARGETS))
VMS := $(call addsuffices,$(VM_EXTS),$(VM_TARGETS))
VMS := $(call addsuffices,$(VM_EXTS),$(VM_TARGETS))
...
@@ -77,8 +78,8 @@ export LC_MESSAGES=C
...
@@ -77,8 +78,8 @@ export LC_MESSAGES=C
### duplicate but still needed
### duplicate but still needed
everything:
everything:
@n=1; sum=$(words $(DISTROS) $(VES_TAR) $(VMS_IMG)); \
@n=1; sum=$(words $(DISTROS
_ISO
) $(VES_TAR) $(VMS_IMG)); \
for distro in $(DISTROS) $(VES_TAR) $(VMS_IMG); do \
for distro in $(DISTROS
_ISO
) $(VES_TAR) $(VMS_IMG); do \
echo "** building $$distro [$$n/$$sum]:"; \
echo "** building $$distro [$$n/$$sum]:"; \
$(MAKE) -f main.mk --no-print-directory $$distro; \
$(MAKE) -f main.mk --no-print-directory $$distro; \
[ "$$n" -lt "$$sum" ] && echo; \
[ "$$n" -lt "$$sum" ] && echo; \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment