initial PoC for distro configuration buildup

Distributions should not reiterate on building block lists:
similar ones should inherit good features (and development)
from the basic up to the more sophisticated ones,
like seen at http://www.altlinux.org/WhiteLabel
This commit is contained in:
Michael Shigorin 2010-08-23 21:30:56 +03:00
commit e660566b07
2 changed files with 16 additions and 0 deletions

2
Makefile Normal file
View File

@ -0,0 +1,2 @@
distro/%:
make -C distro $(@:distro/%=%)

14
distro/Makefile Normal file
View File

@ -0,0 +1,14 @@
clean:
@:> config.mk
distclean:
@rm config.mk
bare: clean
@echo BASE_LISTS='base kernel' >> config.mk
server-base: bare
@echo BASE_LISTS+='server-base' >> config.mk
server-light: server-base
@echo BASE_LISTS+='kernel-wifi' >> config.mk