kernel: factor the former lib/kernel.mk in

It wasn't spotted when introducing the distinct kernel feature;
will need fixup as we meet packaged ARM/PPC kernels.
This commit is contained in:
Michael Shigorin 2013-01-25 00:55:56 +04:00 committed by Michael Shigorin
parent fc061fba0c
commit 2d3e5f2b1c
2 changed files with 7 additions and 10 deletions

View File

@ -1,3 +1,10 @@
# choose std kernel flavour for max RAM size support
ifeq (i586,$(ARCH))
BIGRAM := std-pae
else
BIGRAM := std-def
endif
use/kernel:
@$(call add_feature)
@$(call set,KFLAVOURS,std-def)

View File

@ -1,10 +0,0 @@
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
BIGRAM := std-def
endif