2010-09-09 13:50:29 +04:00
# build up distribution's configuration
2010-08-28 20:28:42 +04:00
CONFIG = $( BUILDDIR) /.config.mk
2010-09-09 13:50:29 +04:00
# source initial feature snippets
- i n c l u d e f e a t u r e s . i n / * / c o n f i g . m k
2010-09-13 18:22:05 +04:00
# put(), add(), set(), tags()
2010-09-14 09:44:35 +04:00
#
# package list names are considered relative to pkg/lists/
2010-09-08 22:37:51 +04:00
#
# $(VAR) will be substituted before writing them to $(CONFIG);
# $$(VAR) will remain unsubstituted util $(CONFIG) is included
# and their value requested (so the variable referenced
# can change its value during configuration _before_
# it's actually used)
#
2010-09-14 09:44:35 +04:00
# tags can do boolean expressions: (tag1 && !(tag2 || tag3))
i n c l u d e f u n c t i o n s . m k
# request particular image subprofile inclusion
sub/% :
$( call add,SUBPROFILES,$( @:sub/%= %) )
2010-09-08 22:37:51 +04:00
2010-09-13 18:22:05 +04:00
distro/init :
2010-08-28 20:28:42 +04:00
@echo "** starting distro configuration build process"
2010-09-13 18:22:05 +04:00
@:> $( CONFIG)
distro/base : distro /init sub /stage 1
$( call set,KFLAVOUR,std-def) ###
$( call set,IMAGE_INIT_LIST,+branding-$$ ( BRANDING) -release)
$( call set,BRANDING,altlinux-desktop) ###
$( call set,KERNEL_PACKAGES,kernel-image-$$ ( KFLAVOUR) )
2010-08-28 20:28:42 +04:00
2010-09-13 18:22:05 +04:00
distro/syslinux : distro /base
2010-09-09 13:50:29 +04:00
2010-08-28 20:28:42 +04:00
# NB: our */* are phony targets really, just for namespace
2010-09-13 18:22:05 +04:00
distro/installer : distro /base sub /install 2
2010-08-28 20:28:42 +04:00
@#$( call put,BRANDING= altlinux-sisyphus) ###
2010-09-13 18:22:05 +04:00
$( call set,BASE_LISTS,base kernel)
$( call set,INSTALL2_PACKAGES,installer-distro-server-light-stage2) ###
2010-08-24 13:48:35 +04:00
2010-08-28 20:28:42 +04:00
distro/server-base : distro /installer sub /main use /memtest 86
2010-09-13 18:22:05 +04:00
$( call add,BASE_LISTS,server-base kernel-server)
2010-08-24 13:48:35 +04:00
2010-09-08 16:47:06 +04:00
distro/server-light : distro /server -base use /bootsplash
2010-09-13 18:22:05 +04:00
$( call set,KFLAVOUR,ovz-smp) # override default
$( call set,BRANDING,sisyphus-server-light)
$( call add,DISK_LISTS,kernel-wifi)
$( call add,BASE_LISTS,$( call tags,base server) )
2010-08-24 13:48:35 +04:00
2010-09-08 16:47:06 +04:00
use/bootsplash :
2010-09-13 18:22:05 +04:00
$( call add,COMMON_TAGS,bootsplash)