distro.mk 824 Bytes
Newer Older
1 2 3 4
# step 2: build up distribution's configuration

ifndef MKIMAGE_PROFILES
$(error this makefile is designed to be included in toplevel one)
5
endif
6

7 8
ifeq (distro,$(IMAGE_CLASS))
# fundamental targets
Michael Shigorin's avatar
Michael Shigorin committed
9

10 11 12 13
distro/.init: profile/bare
	@$(call try,META_PREPARER,mkimage-profiles)
	@$(call try,META_APP_ID,$(IMAGE_NAME))
	@$(call set,META_PUBLISHER,ALT Linux Team)
14

15 16 17 18
distro/.boot: distro/.init boot/iso
	@$(call set,META_VOL_ID,ALT $(IMAGE_NAME)/$(ARCH))
	@$(call set,META_VOL_SET,ALT)

19 20
# NB: the last flavour in KFLAVOURS gets to be the default one;
# the kernel packages regexp evaluation has to take place at build stage
21
distro/.base: distro/.boot use/kernel
22
	@$(call set,META_SYSTEM_ID,LINUX)
23

24 25
# this one should not be fundamental as it appears (think armh)
distro/.installer: distro/.base use/bootloader/grub +installer; @:
26

27
endif