mkimage-profiles/features.in/kernel/config.mk
Michael Shigorin 1287c9b36b kernel: add desktop, laptop targets
This has been borrowed from m-p-d for Centaurus, actually.
2016-04-01 14:22:11 +03:00

25 lines
556 B
Makefile

# 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)
# r8168 is a kludge, never install it by default
use/kernel/net:
@$(call add,THE_KMODULES,e1000e igb)
@$(call add,MAIN_KMODULES,r8168 rtl8168)
use/kernel/wireless: use/firmware/wireless
@$(call add,THE_KMODULES,bcmwl ndiswrapper)
use/kernel/laptop: use/firmware/laptop
@$(call add,KMODULES,omnibook tp_smapi)
use/kernel/desktop:
@$(call add,KMODULES,lirc v4l)