Commit 293ec5dc authored by Michael Shigorin's avatar Michael Shigorin

pack: ensure e2k support on e2k

The culprit is that e2k has exactly one kernel flavour available at the moment, elbrus-def (there used to be per-CPU flavours in p8 times -- elbrus-{4c,8c,1cp} -- but these aren't needed anymore), but there are no std-def/un-def kernels or provides available. There's more to it, but lacking a kernel is critical. Maybe other arches might do similar things when needed, or maybe this gets reverted in favour of a more generic approach; but patching all starterkits or messing with p9.mk per-arch (while leaving out regular builds or any other image that might just build) looks worse.
parent 2918748c
......@@ -3,9 +3,13 @@
# distributions
DISTRO_EXTS := .iso
use/pack:
use/pack::
@$(call add_feature)
ifeq (,$(filter-out e2k%,$(ARCH)))
use/pack:: use/e2k; @:
endif
# fallback type is isodata, might get set elsewhere to produce bootable iso
use/pack/iso: use/pack
@$(call try,IMAGE_PACKTYPE,isodata)
......
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