You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.0 KiB
33 lines
1.0 KiB
# step 2: build up distribution's configuration
|
|
|
|
ifndef MKIMAGE_PROFILES
|
|
$(error this makefile is designed to be included in toplevel one)
|
|
endif
|
|
|
|
ifeq (distro,$(IMAGE_CLASS))
|
|
# fundamental targets
|
|
|
|
distro/.init: profile/bare
|
|
@$(call try,META_PREPARER,mkimage-profiles)
|
|
@$(call try,META_APP_ID,$(IMAGE_NAME))
|
|
@$(call try,META_PUBLISHER,Artem Proskurnev)
|
|
|
|
distro/.boot: distro/.init boot/iso
|
|
ifeq (,$(BRANCH))
|
|
@$(call try,META_VOL_ID,KOMETA $(IMAGE_NAME)/$(ARCH))
|
|
else
|
|
@$(call try,IMAGE_FLAVOUR,$(subst alt-$(BRANCH)-,,$(IMAGE_NAME)))
|
|
@$(call try,META_VOL_ID,KOMETA $(BRANCH) $$(IMAGE_FLAVOUR)/$(ARCH))
|
|
endif
|
|
@$(call try,META_VOL_try,KOMETA)
|
|
@$(call try,GLOBAL_BOOT_LANG,ru_RU)
|
|
|
|
# NB: the last flavour in KFLAVOURS gets to be the default one;
|
|
# the kernel packages regexp evaluation has to take place at build stage
|
|
distro/.base: distro/.boot use/kernel
|
|
@$(call try,META_SYSTEM_ID,LINUX)
|
|
|
|
# this one should not be fundamental as it appears (think armh)
|
|
distro/.installer: distro/.base use/bootloader/grub +installer; @:
|
|
|
|
endif
|
|
|