kernel-config/hardware/magneto.sh
2020-11-11 21:55:21 -07:00

57 lines
2.1 KiB
Bash
Executable File

cd /usr/src/linux;
./scripts/config --enable BLK_DEV_MD # tristate
./scripts/config --enable MD_RAID0 # tristate
./scripts/config --enable MD_RAID1 # tristate
./scripts/config --enable DM_RAID # tristate
./scripts/config --enable SND_USB_AUDIO # tristate
./scripts/config --enable SND_HDA_CODEC_REALTEK
./scripts/config --enable BT
./scripts/config --enable BT_HCIBTUSB
./scripts/config --enable BT_HCIBTUSB_BCM
./scripts/config --enable BT_HCIBTUSB_RTL
./scripts/config --enable SENSORS_NCT6775
./scripts/config --enable SENSORS_CORETEMP
./scripts/config --module DRM_AMDGPU
#https://wiki.gentoo.org/wiki/Power_management/Processor#CPU_frequency_scaling
#For Intel core processors, this should be selected as default.
./scripts/config --disable CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE
./scripts/config --enable CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
./scripts/config --enable KVM_INTEL
#UVC cameras
#./scripts/config --enable USB_GADGET
#./scripts/config --enable USB_CONFIGFS
./scripts/config --enable VIDEOBUF_V4L2
./scripts/config --enable VIDEO_V4L2
#./scripts/config --enable VIDEO_DEV
#./scripts/config --enable USB_CONFIGFS_F_UVC
#./scripts/config --enable USB_G_WEBCAM
#./scripts/config --enable USB_F_UVC
./scripts/config --enable MEDIA_SUPPORT
./scripts/config --enable MEDIA_CAMERA_SUPPORT
./scripts/config --enable MEDIA_USB_SUPPORT
./scripts/config --enable USB_VIDEO_CLASS
./scripts/config --enable CONFIG_BT_RFCOMM
./scripts/config --enable CONFIG_BT_RFCOMM_TTY
./scripts/config --enable CONFIG_BT_BNEP
./scripts/config --enable CONFIG_BT_BNEP_MC_FILTER
./scripts/config --enable CONFIG_BT_BNEP_PROTO_FILTER
./scripts/config --enable CONFIG_BT_HIDP
./scripts/config --enable CONFIG_CRYPTO_USER
./scripts/config --enable CONFIG_CRYPTO_USER_API_AEAD
# Minikube
./scripts/config --enable NF_CONNTRACK_TIMEOUT
./scripts/config --enable CONFIG_NF_CONNTRACK_EVENTS
./scripts/config --enable CONFIG_NETFILTER_NETLINK_QUEUE
./scripts/config --enable CONFIG_NF_CT_NETLINK_TIMEOUT
./scripts/config --enable CONFIG_NF_CT_NETLINK_HELPER