Commit 305e97d5 authored by Michael Shigorin's avatar Michael Shigorin

introduced lib/kernel.mk helper makefile

Sometimes it's desirable to provide the kernel supporting maximal amount of RAM on the system; bad news is that x86 has a kludge named PAE, good news is that x86_64 doesn't need it at all; but now we must be able to choose between those. BIGRAM will hold the flavour needed.
parent 6647e899
......@@ -21,6 +21,7 @@ distro/live-isomd5sum: distro/.base use/live/base use/isomd5sum
distro/live-builder: pkgs := livecd-tmpfs livecd-online-repo mkimage-profiles
distro/live-builder: distro/.live-base use/dev/mkimage use/dev/repo
@$(call set,KFLAVOURS,$(BIGRAM))
@$(call add,LIVE_LISTS,$(call tags,base && (server || builder)))
@$(call add,LIVE_PACKAGES,zsh sudo)
@$(call add,LIVE_PACKAGES,$(pkgs))
......
ifndef MKIMAGE_PROFILES
$(error this makefile is designed to be included in toplevel one)
endif
# choose std kernel flavour for max RAM size support
ifeq (i586,$(ARCH))
BIGRAM := std-pae
else
BUGRAM := std-def
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment