mkimage-profiles/lib/vm.mk

25 lines
578 B
Makefile
Raw Normal View History

# step 2: build up virtual machine's configuration
ifndef MKIMAGE_PROFILES
$(error this makefile is designed to be included in toplevel one)
endif
ifeq (vm,$(IMAGE_CLASS))
vm/.bare: profile/bare
@$(call add,BASE_PACKAGES,interactivesystem shadow-utils e2fsprogs)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
2019-05-19 17:36:04 +03:00
vm/.base-lilo: vm/.bare use/bootloader/lilo; @:
endif
ifeq (,$(filter-out i586 x86_64 ppc64le,$(ARCH)))
2019-05-19 17:36:04 +03:00
vm/.base-grub: vm/.bare use/bootloader/grub; @:
endif
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
2019-05-19 17:36:04 +03:00
vm/.base-grub-efi: vm/.bare use/efi/grub; @:
endif
endif