2010-08-28 20:28:42 +04:00
### build up distribution's configuration
CONFIG = $( BUILDDIR) /.config.mk
# ACHTUNG: don"t use ANY quotes ('/") for put() arguments!
# shell will get confused by ' or args get spammed with "
put = $( and $( 1) ,$( put_body) )
d e f i n e p u t _ b o d y
@ p r i n t f '%s\n' '$(1)# $@' > > "$(CONFIG)" ;
e n d e f
# request particular image subprofile inclusion
2010-08-24 13:48:35 +04:00
sub/% :
2010-08-28 20:28:42 +04:00
$( call put,SUBPROFILES+= $( @:sub/%= %) )
2010-08-24 13:48:35 +04:00
init :
2010-08-28 20:28:42 +04:00
@echo "** starting distro configuration build process"
:> $( CONFIG)
$( call put,KFLAVOUR= std-def)
$( call put,IMAGE_INIT_LIST= +branding-$$ ( BRANDING) -release)
$( call put,STAGE1_PACKAGES= kernel-image-$$ ( KFLAVOUR) )
# NB: our */* are phony targets really, just for namespace
distro/installer : init sub /install 2
@#$( call put,BRANDING= altlinux-sisyphus) ###
$( call put,BASE_LISTS= base kernel)
$( call put,INSTALL2_PACKAGES= kernel-image-$$ ( KFLAVOUR) )
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
$( call put,BRANDING= altlinux-backup-server) ###
$( call put,BASE_LISTS+= server-base kernel-server)
2010-08-24 13:48:35 +04:00
2010-08-28 20:28:42 +04:00
distro/server-light : distro /server -base
$( call put,KFLAVOUR= ovz-smp)
$( call put,BRANDING= sisyphus-server-light)
$( call put,DISK_LISTS+= kernel-wifi)
2010-08-24 13:48:35 +04:00
2010-08-28 20:28:42 +04:00
use/memtest86 :
$( call put,COMMON_PACKAGES+= memtest86+)
@# configure syslinux/isolinux as well