16a06f51d0
Several targets were used in a duplicated way that made no harm but no sense either.
38 lines
1016 B
Makefile
38 lines
1016 B
Makefile
# 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))
|
|
|
|
# request particular image subprofile inclusion
|
|
sub/%:
|
|
@$(call add,SUBPROFILES,$(@:sub/%=%))
|
|
|
|
# install media bootloader
|
|
boot/%: use/syslinux
|
|
@$(call set,BOOTLOADER,$*)
|
|
|
|
# fundamental targets
|
|
|
|
distro/.init: profile/bare
|
|
|
|
# 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/.init
|
|
@$(call set,KFLAVOURS,std-def)
|
|
|
|
# bootloader test target
|
|
distro/syslinux: distro/.init \
|
|
use/syslinux/localboot.cfg use/syslinux/ui-vesamenu \
|
|
use/hdt use/memtest
|
|
|
|
# something marginally useful (as a network-only installer)
|
|
# NB: doesn't carry stage3 thus cannot use/bootloader
|
|
distro/installer: distro/.base use/install2 use/syslinux/localboot.cfg
|
|
@$(call set,INSTALLER,altlinux-generic)
|
|
@$(call set,STAGE1_KMODULES_REGEXP,drm.*) # for KMS
|
|
|
|
endif
|