2013-01-25 00:55:56 +04:00
# choose std kernel flavour for max RAM size support
i f e q ( i 5 8 6 , $( ARCH ) )
BIGRAM := std-pae
e l s e
BIGRAM := std-def
e n d i f
2012-05-08 18:59:57 +04:00
use/kernel :
@$( call add_feature)
2019-04-26 20:25:34 +03:00
i f e q ( , $( filter -out e 2k %,$ ( ARCH ) ) )
@$( call try,KFLAVOURS,elbrus-def)
2019-04-29 19:47:04 +03:00
e l s e
2019-08-28 10:58:27 +03:00
i f e q ( , $( filter -out armh ,$ ( ARCH ) ) )
2019-04-29 19:47:04 +03:00
@$( call try,KFLAVOURS,mp)
2019-05-13 13:21:21 +03:00
e l s e
i f e q ( , $( filter -out riscv 64,$ ( ARCH ) ) )
@$( call try,KFLAVOURS,un-def)
2019-04-26 20:25:34 +03:00
e l s e
2017-08-02 15:51:18 +03:00
@$( call try,KFLAVOURS,std-def)
2019-04-26 20:25:34 +03:00
e n d i f
2019-04-29 19:47:04 +03:00
e n d i f
2019-05-13 13:21:21 +03:00
e n d i f
2019-11-09 16:44:03 +03:00
@$( call xport,KFLAVOURS)
2013-02-21 13:49:32 +04:00
2014-03-13 22:16:48 +04:00
# r8168 is a kludge, never install it by default
2013-02-21 13:49:32 +04:00
use/kernel/net :
2014-03-13 22:16:48 +04:00
@$( call add,THE_KMODULES,e1000e igb)
@$( call add,MAIN_KMODULES,r8168 rtl8168)
2014-08-29 15:36:05 +04:00
2016-03-23 11:58:44 +03:00
use/kernel/wireless : use /firmware /wireless
2014-08-29 15:36:05 +04:00
@$( call add,THE_KMODULES,bcmwl ndiswrapper)
2016-03-23 12:04:13 +03:00
use/kernel/laptop : use /firmware /laptop
2018-08-10 14:11:35 +03:00
@$( call add,THE_KMODULES,omnibook tp_smapi)
2016-03-23 12:04:13 +03:00
use/kernel/desktop :
2018-08-10 14:11:35 +03:00
@$( call add,THE_KMODULES,lirc v4l)
2018-08-10 14:15:42 +03:00
use/kernel/server :
@$( call add,THE_KMODULES,ipset kvm)
2019-05-07 19:17:55 +03:00
# for vm targets
use/kernel/initrd-setup : use /kernel
@$( call add,VM_INITRDFEATURES,add-modules compress cleanup)
@$( call try,VM_FSTYPE,ext4)
@$( call add,VM_INITRDMODULES,$$ ( VM_FSTYPE) )
2020-01-27 19:30:30 +03:00
@$( call add,VM_INITRDMODULES,ehci-pci ohci-pci uhci-hcd xhci-pci uas)
@$( call add,VM_INITRDMODULES,sdhci-pci xhci-plat-hcd dwc2)
2020-01-20 13:55:31 +03:00
@$( call add,VM_INITRDMODULES,usbhid)
2019-05-07 19:17:55 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
@$( call add,VM_INITRDMODULES,ata_piix)
e n d i f
2020-01-20 13:55:31 +03:00
i f e q ( , $( filter -out e 2k % ppc 64le ,$ ( ARCH ) ) )
2019-05-07 19:17:55 +03:00
@$( call add,VM_INITRDFEATURES,usb)
e n d i f
2020-01-20 13:55:31 +03:00
i f n e q ( , $( filter -out e 2k %,$ ( ARCH ) ) )
@$( call add,VM_INITRDFEATURES,qemu)
@$( call add,VM_INITRDMODULES,virtio-scsi virtio-blk virtio-rng virtio_net)
@$( call add,VM_INITRDMODULES,virtio-mmio virtio_pci virtio_console virtio_input)
e n d i f
2019-07-09 13:20:56 +03:00
i f e q ( , $( filter -out ppc 64le ,$ ( ARCH ) ) )
@$( call add,VM_INITRDMODULES,ipr ibmvscsi)
e n d i f
i f e q ( , $( filter -out i 586 x 86_ 64 aarch 64 armh ppc 64le ,$ ( ARCH ) ) )
2019-05-07 19:17:55 +03:00
@$( call add,VM_INITRDMODULES,ahci sd_mod)
@$( call add,VM_INITRDMODULES,nvme nvme-core)
e n d i f
i f e q ( , $( filter -out aarch 64 armh ,$ ( ARCH ) ) )
2019-10-31 17:28:16 +03:00
@$( call add,VM_INITRDMODULES,ahci_platform)
2019-05-07 19:17:55 +03:00
@$( call add,VM_INITRDMODULES,bcm2835 sunxi-mmc)
@$( call add,VM_INITRDMODULES,nvmem_rockchip_efuse)
e n d i f
i f e q ( , $( filter -out aarch 64,$ ( ARCH ) ) )
@$( call add,VM_INITRDMODULES,meson-gx-mmc)
@$( call add,VM_INITRDMODULES,nvmem_meson_efuse)
2019-08-27 19:51:05 +03:00
@$( call add,VM_INITRDMODULES,pcie-rockchip-host phy-rockchip-pcie)
@$( call add,VM_INITRDMODULES,rk808 i2c-rk3x sdhci-of-arasan sdhci)
@$( call add,VM_INITRDMODULES,dw_mmc dw_mmc-rockchip phy-rockchip-emmc)
@$( call add,VM_INITRDMODULES,pinctrl-rk805 rockchip-io-domain)
@$( call add,VM_INITRDMODULES,pwm-rockchip rk808-regulator)
2019-05-07 19:17:55 +03:00
e n d i f
i f e q ( , $( filter -out armh ,$ ( ARCH ) ) )
@$( call add,VM_INITRDMODULES,sdhci_dove sdhci_esdhc_imx)
e n d i f
@$( call xport,VM_INITRDMODULES)
@$( call xport,VM_INITRDFEATURES)
2019-11-09 20:06:49 +03:00
@$( call xport,VM_FSTYPE)