Skip to content

Instantly share code, notes, and snippets.

@lo48576
Last active June 26, 2017 09:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lo48576/a13dad6f904c4e86e99a69501393afe7 to your computer and use it in GitHub Desktop.
かーねるこんふぃぐ生成
# Desktop.
#
# Basic settings (common)
#
# See https://wiki.gentoo.org/wiki/Kernel/Configuration .
# Modules.
## config FIRMWARE_IN_KERNEL
## bool "Include in-kernel firmware blobs in kernel binary"
FIRMWARE_IN_KERNEL=y
## menuconfig MODULES
## bool "Enable loadable module support"
MODULES=y
## config MODULE_COMPRESS
## bool "Compress modules on installation"
#CONFIG_MODULE_COMPRESS=y
## config MODULE_COMPRESS_XZ
## bool "XZ"
#CONFIG_MODULE_COMPRESS_XZ=y
# SCSI and SATA.
## config SCSI
## tristate "SCSI device support"
SCSI=y
## config BLK_DEV_SD
## tristate "SCSI disk support"
BLK_DEV_SD=y
## config BLK_DEV_SR
## tristate "SCSI CDROM support"
BLK_DEV_SR=y
## menuconfig SCSI_LOWLEVEL
## bool "SCSI low-level drivers"
SCSI_LOWLEVEL=n
## menuconfig ATA
## tristate "Serial ATA and Parallel ATA drivers (libata)"
ATA=y
# USB.
## config USB
## tristate "Support for Host-side USB"
USB=m
# PCI (required for USB).
## config PCI
## bool "PCI support"
PCI=y
## config PCI_MSI
## bool "Message Signaled Interrupts (MSI and MSI-X)"
PCI_MSI=y
# "If unsure say Y".
## config HT_IRQ
## bool "Interrupts on hypertransport devices"
HT_IRQ=y
# > It's safe to say "y" even if your
# > controller doesn't support this feature.
## config USB_EHCI_ROOT_HUB_TT
## bool "Root Hub Transaction Translators"
USB_EHCI_ROOT_HUB_TT=y
## config USB_XHCI_HCD
## tristate "xHCI HCD (USB 3.0) support"
USB_XHCI_HCD=m
## config USB_EHCI_HCD
## tristate "EHCI HCD (USB 2.0) support"
USB_EHCI_HCD=m
## config USB_OHCI_HCD
## tristate "OHCI HCD (USB 1.1) support"
USB_OHCI_HCD=m
## config USB_OHCI_HCD_PCI
## tristate "OHCI support for PCI-bus USB controllers"
USB_OHCI_HCD_PCI=m
## config USB_UHCI_HCD
## tristate "UHCI HCD (most Intel and VIA) support"
USB_UHCI_HCD=m
## config USB_ANNOUNCE_NEW_DEVICES
## bool "USB announce new devices"
USB_ANNOUNCE_NEW_DEVICES=y
# USB tethering support.
# See https://wiki.gentoo.org/wiki/Android_USB_Tethering .
## menuconfig USB_NET_DRIVERS
## tristate "USB Network Adapters"
USB_NET_DRIVERS=m
## config USB_USBNET
## tristate "Multi-purpose USB Networking Framework"
USB_USBNET=m
## config USB_NET_CDCETHER
## tristate "CDC Ethernet support (smart devices such as cable modems)"
USB_NET_CDCETHER=m
## config USB_NET_CDC_EEM
## tristate "CDC EEM support"
USB_NET_CDC_EEM=m
## config USB_NET_CDC_SUBSET
## tristate "Simple USB Network Links (CDC Ethernet subset)"
USB_NET_CDC_SUBSET=m
## config USB_ARMLINUX
## bool "Embedded ARM Linux links (iPaq, ...)"
USB_ARMLINUX=y
## config USB_PRINTER
## tristate "USB Printer support"
# * Messages for package net-print/cups-2.2.1:
#
# * Your usb printers will be managed via libusb. In this case,
# * cups-2.2.1 requires the USB_PRINTER support disabled.
# * Please disable it:
# * CONFIG_USB_PRINTER=n
# * in /usr/src/linux/.config or
# * Device Drivers --->
# * USB support --->
# * [ ] USB Printer support
# * Alternatively, just disable the usb useflag for cups (your printer will still work).
USB_PRINTER=n
## config USB_STORAGE
## tristate "USB Mass Storage support"
USB_STORAGE=m
## config USB_HID
## tristate "USB HID transport layer"
USB_HID=m
## config USB_HIDDEV
## bool "/dev/hiddev raw HID device support"
USB_HIDDEV=y
## config USB_MON
## tristate "USB Monitor"
# > If you select this option, a component which captures the USB traffic
# > between peripheral-specific drivers and HC drivers will be built.
# > For more information, see <file:Documentation/usb/usbmon.txt>.
USB_MON=m
# Multiprocessor, hyper-threading and multi-core.
## config SMP
## bool "Symmetric multi-processing support"
SMP=y
## config SCHED_SMT
## bool "SMT (Hyperthreading) scheduler support"
SCHED_SMT=y
## config SCHED_MC
## bool "Multi-core scheduler support"
SCHED_MC=y
## menuconfig ACPI
## bool "ACPI (Advanced Configuration and Power Interface) Support"
ACPI=y
#
# Basic settings (common)
#
# See https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel .
# GPT and UEFI.
## config PARTITION_ADVANCED
## bool "Advanced partition selection"
PARTITION_ADVANCED=y
## config EFI_PARTITION
## bool "EFI GUID Partition support" if PARTITION_ADVANCED
EFI_PARTITION=y
## config EFI
## bool "EFI runtime service support"
EFI=y
## config EFI_STUB
## bool "EFI stub support"
EFI_STUB=y
## config EFI_VARS
## tristate "EFI Variable Support via sysfs"
EFI_VARS=y
#
# Basic settings
#
# 64bit.
## config 64BIT
## bool "64-bit kernel" if ARCH = "x86"
64BIT=y
# Gentoo.
## config GENTOO_LINUX
## bool "Gentoo Linux support"
GENTOO_LINUX=y
## config GENTOO_LINUX_UDEV
## bool "Linux dynamic and persistent device naming (userspace devfs) support"
#CONFIG_GENTOO_LINUX_UDEV=y
## config GENTOO_LINUX_PORTAGE
## bool "Select options required by Portage features"
#CONFIG_GENTOO_LINUX_PORTAGE=y
## config GENTOO_LINUX_INIT_SCRIPT
## bool "OpenRC, runit and other script based systems and managers"
GENTOO_LINUX_INIT_SCRIPT=n
## config GENTOO_LINUX_INIT_SYSTEMD
## bool "systemd"
GENTOO_LINUX_INIT_SYSTEMD=y
# Modules.
## menuconfig MODULES
## bool "Enable loadable module support"
MODULES=y
## config MODULE_UNLOAD
## bool "Module unloading"
MODULE_UNLOAD=y
## config MODULE_FORCE_UNLOAD
## bool "Forced module unloading"
MODULE_FORCE_UNLOAD=y
# Encryption.
## menuconfig MD
## bool "Multiple devices driver support (RAID and LVM)"
MD=y
## config BLK_DEV_DM
## tristate "Device mapper support"
BLK_DEV_DM=y
## config DM_CRYPT
## tristate "Crypt target support"
DM_CRYPT=y
## menuconfig CRYPTO
## tristate "Cryptographic API"
CRYPTO=y
## config CRYPTO_XTS
## tristate "XTS support"
CRYPTO_XTS=y
## config CRYPTO_SHA256
## tristate "SHA224 and SHA256 digest algorithm"
CRYPTO_SHA256=y
## config CRYPTO_SHA256_SSSE3
## tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)"
CRYPTO_SHA256_SSSE3=y
## config CRYPTO_SHA512
## tristate "SHA384 and SHA512 digest algorithms"
CRYPTO_SHA512=y
## config CRYPTO_SHA512_SSSE3
## tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)"
CRYPTO_SHA512_SSSE3=y
## config CRYPTO_AES
## tristate "AES cipher algorithms"
CRYPTO_AES=y
## config CRYPTO_AES_X86_64
## tristate "AES cipher algorithms (x86_64)"
CRYPTO_AES_X86_64=y
## config CRYPTO_AES_NI_INTEL
## tristate "AES cipher algorithms (AES-NI)"
CRYPTO_AES_NI_INTEL=y
## config CRYPTO_USER_API_SKCIPHER
## tristate "User-space interface for symmetric key cipher algorithms"
CRYPTO_USER_API_SKCIPHER=y
## config BLK_DEV_INITRD
## bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
BLK_DEV_INITRD=y
# Filesystems.
# btrfs.
## config BTRFS_FS
## tristate "Btrfs filesystem support"
BTRFS_FS=y
## config BTRFS_FS_POSIX_ACL
## bool "Btrfs POSIX Access Control Lists"
BTRFS_FS_POSIX_ACL=y
# ext3/4.
## config EXT3_FS
## tristate "The Extended 3 (ext3) filesystem"
EXT3_FS=m
## config EXT3_FS_POSIX_ACL
## bool "Ext3 POSIX Access Control Lists"
EXT3_FS_POSIX_ACL=y
## config EXT4_FS
## tristate "The Extended 4 (ext4) filesystem"
EXT4_FS=m
# fuse.
## config FUSE_FS
## tristate "FUSE (Filesystem in Userspace) support"
FUSE_FS=m
## config CUSE
## tristate "Character device in Userspace support"
CUSE=m
# Hugepages.
## config HUGETLBFS
## bool "HugeTLB file system support"
HUGETLBFS=y
# Tmpfs.
## config TMPFS
## bool "Tmpfs virtual memory file system support (former shm fs)"
TMPFS=y
## config TMPFS_POSIX_ACL
## bool "Tmpfs POSIX Access Control Lists"
TMPFS_POSIX_ACL=y
## config TMPFS_XATTR
## bool "Tmpfs extended attributes"
TMPFS_XATTR=y
# SATA.
## config SATA_AHCI
## tristate "AHCI SATA support"
SATA_AHCI=y
# Preemption and timer.
## config PREEMPT_VOLUNTARY
## bool "Voluntary Kernel Preemption (Desktop)"
PREEMPT_VOLUNTARY=y
## choice
## prompt "Timer frequency"
## config HZ_1000
## bool "1000 HZ"
HZ_1000=y
# Intel CPU.
## config X86_MCE
## bool "Machine Check / overheating reporting"
X86_MCE=y
## config X86_MCE_INTEL
## def_bool y
## prompt "Intel MCE features"
X86_MCE_INTEL=y
## config X86_MCE_AMD
## def_bool y
## prompt "AMD MCE features"
X86_MCE_AMD=n
## config MICROCODE
## bool "CPU microcode loading support"
MICROCODE=y
## config MICROCODE_INTEL
## bool "Intel microcode loading support"
MICROCODE_INTEL=y
## config IA32_EMULATION
## bool "IA32 Emulation"
IA32_EMULATION=y
# Haswell.
## config MCORE2
## bool "Core 2/newer Xeon"
MCORE2=y
## config CPU_FREQ
## bool "CPU Frequency scaling"
CPU_FREQ=y
## config CPU_FREQ_DEFAULT_GOV_PERFORMANCE
## bool "performance"
CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
## config CPU_FREQ_GOV_POWERSAVE
## tristate "'powersave' governor"
CPU_FREQ_GOV_POWERSAVE=y
## config CPU_FREQ_GOV_USERSPACE
## tristate "'userspace' governor for userspace frequency scaling"
CPU_FREQ_GOV_USERSPACE=m
## config CPU_FREQ_GOV_ONDEMAND
## tristate "'ondemand' cpufreq policy governor"
CPU_FREQ_GOV_ONDEMAND=m
## config CPU_FREQ_GOV_CONSERVATIVE
## tristate "'conservative' cpufreq governor"
CPU_FREQ_GOV_CONSERVATIVE=m
## config X86_INTEL_PSTATE
## bool "Intel P state control"
X86_INTEL_PSTATE=y
## config X86_PCC_CPUFREQ
## tristate "Processor Clocking Control interface driver"
X86_PCC_CPUFREQ=m
## config INTEL_IDLE
## bool "Cpuidle Driver for Intel Processors"
INTEL_IDLE=y
#
# Custom settings
#
# Network.
## config PACKET
## tristate "Packet socket"
PACKET=y
## config UNIX
## tristate "Unix domain sockets"
UNIX=y
## config XFRM_USER
## tristate "Transformation user configuration interface"
XFRM_USER=m
## config NET_KEY
## tristate "PF_KEY sockets"
NET_KEY=m
# Avahi.
# See https://wiki.gentoo.org/wiki/Avahi .
## config IP_MULTICAST
## bool "IP: multicasting"
IP_MULTICAST=y
# Drivers and settings.
# `sudo lspci -k` to see modules in use for devices.
## menuconfig RFKILL
## tristate "RF switch subsystem support"
RFKILL=m
# Ethernet (M/B).
## menuconfig NETDEVICES
## bool "Network device support"
NETDEVICES=y
## menuconfig ETHERNET
## bool "Ethernet driver support"
ETHERNET=y
## config R8169
## tristate "Realtek 8169 gigabit ethernet support"
R8169=y
# # Bluetooth.
# ## menuconfig BT
# ## tristate "Bluetooth subsystem support"
# BT=m
# # BT_RFCOMM is required for OBEX.
# ## config BT_RFCOMM
# ## tristate "RFCOMM protocol support"
# BT_RFCOMM=m
# ## config BT_BNEP
# ## tristate "BNEP protocol support"
# BT_BNEP=m
# ## config BT_HIDP
# ## tristate "HIDP protocol support"
# BT_HIDP=m
# ## config BT_HCIBTUSB
# ## tristate "HCI USB driver"
# BT_HCIBTUSB=m
# ## config BT_HCIBTUART
# ## tristate "HCI UART (PC Card) device driver"
# BT_HCIUART=m
# ## config BT_HCIUART_ATH3K
# ## bool "Atheros AR300x serial support"
# BT_HCIUART_ATH3K=y
# ## config BT_ATH3K
# ## tristate "Atheros firmware download driver"
# BT_ATH3K=m
# ## config UHID
# ## tristate "User-space I/O driver support for HID subsystem"
# UHID=m
# # e1000e for ethernet controller.
# ## config NET_VENDOR_INTEL
# ## bool "Intel devices"
# NET_VENDOR_INTEL=y
# ## config E1000E
# ## tristate "Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support"
# E1000E=y
# pcieport for PCIE.
## config PCIEPORTBUS
## bool "PCI Express Port Bus support"
PCIEPORTBUS=y
# Soundcard.
# 1. `head -n 1 /proc/asound/card*/codec\#0`
# 2. Read `/usr/src/linux/Documentation/sound/alsa/ALSA-Configuration.txt`
## menuconfig SOUND
## tristate "Sound card support"
SOUND=y
## menuconfig SND
## tristate "Advanced Linux Sound Architecture"
SND=m
## config SND_HDA_INTEL
## tristate "HD Audio PCI"
SND_HDA_INTEL=m
# Codec: Intel Haswell HDMI
## config SND_HDA_CODEC_HDMI
## tristate "Build HDMI/DisplayPort HD-audio codec support"
SND_HDA_CODEC_HDMI=m
# Codec: Realtek ALC283
## config SND_HDA_CODEC_REALTEK
## tristate "Build Realtek HD-audio codec support"
SND_HDA_CODEC_REALTEK=m
# Other.
## config SND_HDA_CODEC_ANALOG
## tristate "Build Analog Device HD-audio codec support"
SND_HDA_CODEC_ANALOG=m
## config SND_HDA_I915
## bool
## default y
## depends on DRM_I915
## depends on SND_HDA_CORE
SND_HDA_I915=y
## menuconfig SND_USB
## bool "USB sound devices"
SND_USB=y
## config SND_USB_AUDIO
## tristate "USB Audio/MIDI driver"
SND_USB_AUDIO=m
# dmesg:
# > [ 9.186112] snd_hda_intel 0000:00:03.0: Too many HDMI devices
# > [ 9.210980] snd_hda_intel 0000:00:03.0: Consider building the kernel with CONFIG_SND_DYNAMIC_MINORS=y
## config SND_DYNAMIC_MINORS
## bool "Dynamic device file minor numbers"
SND_DYNAMIC_MINORS=y
# Intel graphics.
# See https://wiki.gentoo.org/wiki/Intel .
## config FW_LOADER
## tristate "Userspace firmware loading support" if EXPERT
FW_LOADER=y
## config FIRMWARE_IN_KERNEL
## bool "Include in-kernel firmware blobs in kernel binary"
FIRMWARE_IN_KERNEL=y
## config MTRR
## def_bool y
## prompt "MTRR (Memory Type Range Register) support" if EXPERT
MTRR=y
## menuconfig AGP
## tristate "/dev/agpgart (AGP Support)"
AGP=y
## config AGP_INTEL
## tristate "Intel 440LX/BX/GX, I8xx and E7x05 chipset support"
AGP_INTEL=y
## menuconfig DRM
## tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
DRM=y
## config DRM_FBDEV_EMULATION
## bool "Enable legacy fbdev support for your modesetting driver"
DRM_FBDEV_EMULATION=y
## config DRM_I915
## tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
DRM_I915=y
# Webcam.
## menuconfig MEDIA_SUPPORT
## tristate "Multimedia support"
MEDIA_SUPPORT=m
## config MEDIA_CAMERA_SUPPORT
## bool "Cameras/video grabbers support"
MEDIA_CAMERA_SUPPORT=y
## menuconfig MEDIA_USB_SUPPORT
## bool "Media USB Adapters"
MEDIA_USB_SUPPORT=y
## config USB_VIDEO_CLASS
## tristate "USB Video Class (UVC)"
USB_VIDEO_CLASS=m
## menuconfig USB_GSPCA
## tristate "GSPCA based webcams"
USB_GSPCA=n
# Others.
## menuconfig POWER_AVS
## bool "Adaptive Voltage Scaling class support"
POWER_AVS=y
# Sound.
## menuconfig SOUND
## tristate "Sound card support"
SOUND=y
## menuconfig SND
## tristate "Advanced Linux Sound Architecture"
SND=m
## config SND_SEQUENCER
## tristate "Sequencer support"
SND_SEQUENCER=m
## config SND_MIXER_OSS
## tristate "OSS Mixer API"
SND_MIXER_OSS=m
## config SND_PCM_OSS
## tristate "OSS PCM (digital audio) API"
SND_PCM_OSS=m
## config SND_SEQUENCER_OSS
## bool "OSS Sequencer API"
SND_SEQUENCER_OSS=y
# Input.
# TODO: cwm
## menuconfig INPUT_JOYSTICK
## bool "Joysticks/Gamepads"
INPUT_JOYSTICK=y
## config INPUT_JOYDEV
## tristate "Joystick interface"
INPUT_JOYDEV=y
## menuconfig INPUT_MISC
## bool "Miscellaneous devices"
INPUT_MISC=y
## config INPUT_PCSPKR
## tristate "PC Speaker support"
INPUT_PCSPKR=y
## config INPUT_UINPUT
## tristate "User level driver support"
INPUT_UINPUT=y
## config SERIO_SERPORT
## tristate "Serial port line discipline"
SERIO_SERPORT=m
# # Touchpad.
# ## config MOUSE_SYNAPTICS_I2C
# ## tristate "Synaptics I2C Touchpad support"
# MOUSE_SYNAPTICS_I2C=m
# Filesystems.
## config ISO9660_FS
## tristate "ISO 9660 CDROM file system support"
ISO9660_FS=m
## config JOLIET
## bool "Microsoft Joliet CDROM extensions"
JOLIET=y
## config ZISOFS
## bool "Transparent decompression extension"
ZISOFS=y
## config UDF_FS
## tristate "UDF file system support"
UDF_FS=m
## config MSDOS_FS
## tristate "MSDOS fs support"
MSDOS_FS=m
# FAT
## config VFAT_FS
## tristate "VFAT (Windows-95) fs support"
VFAT_FS=m
## config FAT_DEFAULT_CODEPAGE
## int "Default codepage for FAT"
FAT_DEFAULT_CODEPAGE=932
## config FAT_DEFAULT_UTF8
## bool "Enable FAT UTF-8 option by default"
FAT_DEFAULT_UTF8=y
## config NTFS_FS
## tristate "NTFS file system support"
# NTFS
## config NTFS_FS
## tristate "NTFS file system support"
NTFS_FS=m
## config NTFS_RW
## bool "NTFS write support"
NTFS_RW=y
# NLS
## menuconfig NLS
## tristate "Native language support"
NLS=y
## config NLS_ISO8859_1
## tristate "NLS ISO 8859-1 (Latin 1; Western European Languages)"
NLS_ISO8859_1=m
## config NLS_CODEPAGE_932
## tristate "Japanese charsets (Shift-JIS, EUC-JP)"
NLS_CODEPAGE_932=m
## config NLS_UTF8
## tristate "NLS UTF-8"
NLS_UTF8=y
# NFS
## config NFS_FS
## tristate "NFS client support"
NFS_FS=m
## config NFS_V2
## tristate "NFS client support for NFS version 2"
NFS_V2=m
## config NFS_V3
## tristate "NFS client support for NFS version 3"
NFS_V3=m
## config NFS_V3_ACL
## bool "NFS client support for the NFSv3 ACL protocol extension"
NFS_V3_ACL=y
## config NFS_V4
## tristate "NFS client support for NFS version 4"
NFS_V4=m
## config NFS_V4_1
## bool "NFS client support for NFSv4.1"
#CONFIG_NFS_V4_1=y
## config NFS_V4_2
## bool "NFS client support for NFSv4.2"
#CONFIG_NFS_V4_2=y
## config CIFS
## tristate "CIFS support (advanced network filesystem, SMBFS successor)"
CIFS=m
## config CIFS_STATS
## bool "CIFS statistics"
CIFS_STATS=y
## config CIFS_STATS2
## bool "Extended statistics"
CIFS_STATS2=y
## config CIFS_XATTR
## bool "CIFS extended attributes"
CIFS_XATTR=y
## config CIFS_POSIX
## bool "CIFS POSIX Extensions"
CIFS_POSIX=y
## config CIFS_SMB2
## bool "SMB2 and SMB3 network file system support"
CIFS_SMB2=y
# Xorg and Intel driver.
# See https://wiki.gentoo.org/wiki/Xorg/Guide .
## config INPUT_EVDEV
## tristate "Event interface"
INPUT_EVDEV=m
## menuconfig FB
## tristate "Support for frame buffer devices"
FB=y
## config FB_EFI
## bool "EFI-based Framebuffer Support"
FB_EFI=y
## config FRAMEBUFFER_CONSOLE
## tristate "Framebuffer Console support"
FRAMEBUFFER_CONSOLE=y
## menuconfig DRM
## tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
DRM=y
## menuconfig AGP
## tristate "/dev/agpgart (AGP Support)"
AGP=y
# Boot logo.
## menuconfig LOGO
## bool "Bootup logo"
LOGO=y
# Timer and clock.
## config HIGH_RES_TIMERS
## bool "High Resolution Timer Support"
HIGH_RES_TIMERS=y
## config NO_HZ_IDLE
## bool "Idle dynticks system (tickless idle)"
NO_HZ_IDLE=y
# Kernel
## config IKCONFIG
## tristate "Kernel .config support"
IKCONFIG=m
## config IKCONFIG_PROC
## bool "Enable access to .config through /proc/config.gz"
IKCONFIG_PROC=y
# Cgroups.
## config MEMCG
## bool "Memory controller"
MEMCG=y
## config MEMCG_SWAP
## bool "Swap controller"
MEMCG_SWAP=y
## config MEMCG_SWAP_ENABLED
## bool "Swap controller enabled by default"
MEMCG_SWAP_ENABLED=y
## config BLK_CGROUP
## bool "IO controller"
BLK_CGROUP=y
## menuconfig CGROUP_SCHED
## bool "CPU controller"
CGROUP_SCHED=y
## config FAIR_GROUP_SCHED
## bool "Group scheduling for SCHED_OTHER"
FAIR_GROUP_SCHED=y
## config CFS_BANDWIDTH
## bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
CFS_BANDWIDTH=y
## config RT_GROUP_SCHED
## bool "Group scheduling for SCHED_RR/FIFO"
RT_GROUP_SCHED=y
## config CGROUP_FREEZER
## bool "Freezer controller"
CGROUP_FREEZER=y
## config CGROUP_HUGETLB
## bool "HugeTLB controller"
CGROUP_HUGETLB=y
## config CPUSETS
## bool "Cpuset controller"
CPUSETS=y
## config CGROUP_DEVICE
## bool "Device controller"
CGROUP_DEVICE=y
## config CGROUP_CPUACCT
## bool "Simple CPU accounting controller"
CGROUP_CPUACCT=y
## config SCHED_AUTOGROUP
## bool "Automatic process group scheduling"
SCHED_AUTOGROUP=y
# Initrd/initramfs support.
## config BLK_DEV_INITRD
## bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
BLK_DEV_INITRD=y
# Suspend.
## config SUSPEND
## bool "Suspend to RAM and standby"
SUSPEND=y
# Hibernation.
## config HIBERNATION
## bool "Hibernation (aka 'suspend to disk')"
HIBERNATION=y
# Realtime clock.
## menuconfig RTC_CLASS
## bool "Real Time Clock"
RTC_CLASS=y
# DMA support.
## menuconfig DMADEVICES
## bool "DMA Engine support"
DMADEVICES=y
# LED indicator.
## menuconfig NEW_LEDS
## bool "LED Support"
NEW_LEDS=y
## config LEDS_CLASS
## tristate "LED Class Support"
LEDS_CLASS=y
## menuconfig LEDS_TRIGGERS
## bool "LED Trigger support"
LEDS_TRIGGERS=y
## config LEDS_TRIGGER_TIMER
## tristate "LED Timer Trigger"
LEDS_TRIGGER_TIMER=m
# DVD.
## config CDROM_PKTCDVD
## tristate "Packet writing on CD/DVD media"
CDROM_PKTCDVD=m
# # SD card.
# ## menuconfig MMC
# ## tristate "MMC/SD/SDIO card support"
# MMC=m
# ## config MMC_BLOCK
# ## tristate "MMC block device driver"
# MMC_BLOCK=m
# ## config MMC_BLOCK_BOUNCE
# ## bool "Use bounce buffer for simple hosts"
# MMC_BLOCK_BOUNCE=y
# ## config MMC_REALTEK_PCI
# ## tristate "Realtek PCI-E SD/MMC Card Interface Driver"
# MMC_REALTEK_PCI=m
# ## config MMC_SDHCI
# ## tristate "Secure Digital Host Controller Interface support"
# MMC_SDHCI=m
# ## config MMC_SDHCI_PCI
# ## tristate "SDHCI support on PCI bus"
# MMC_SDHCI_PCI=m
## config LEGACY_PTYS
## bool "Legacy (BSD) PTY support"
LEGACY_PTYS=n
# External devices.
# # Sony PS2/3/4 accesories
# # Note that this may require wlan (like ath5k or ath9k).
# ## config HID_SONY
# ## tristate "Sony PS2/3/4 accessories"
# HID_SONY=m
# # Sony PS2/3/4 accesories force feedback support
# ## config SONY_FF
# ## bool "Sony PS2/3/4 accessories force feedback support"
# SONY_FF=y
# ELECOM gamepad JC-U2912FBK.
## config HID_GEMBIRD
## tristate "Gembird Joypad"
HID_GEMBIRD=m
# Devices generic?
# Enable force feedback device support.
## config HID_PID
## bool "PID device support"
HID_PID=y
# Good?
## config BSD_PROCESS_ACCT
## bool "BSD Process Accounting"
BSD_PROCESS_ACCT=y
## config BSD_PROCESS_ACCT_V3
## bool "BSD Process Accounting version 3 file format"
BSD_PROCESS_ACCT_V3=y
## config BLK_DEV_LOOP
## tristate "Loopback device support"
BLK_DEV_LOOP=m
## config MAGIC_SYSRQ
## bool "Magic SysRq key"
MAGIC_SYSRQ=y
#
# Package-specific settings
#
# sys-fs/lvm2-2.02.166, sys-apps/systemd-220-r2:
# It's recommended to set an empty value to the following kernel config option:
# CONFIG_UEVENT_HELPER_PATH="/sbin/udevadm"
## config UEVENT_HELPER_PATH
## string "path to uevent helper"
UEVENT_HELPER_PATH=""
# sys-apps/systemd-233
# > * CONFIG_CRYPTO_USER_API_HASH: is not set when it should be.
# > * CONFIG_IDE: should not be set. But it is.
## config CRYPTO_USER_API_HASH
## tristate "User-space interface for hash algorithms"
#CRYPTO_USER_API_HASH=m
CRYPTO_USER_API_HASH=y
## menuconfig IDE
## tristate "ATA/ATAPI/MFM/RLL support (DEPRECATED)"
IDE=n
# sys-fs/lvm2-2.02.105-r2:
# - SYSVIPC - CONFIG_SYSVIPC: is not set (required for udev sync)
## config SYSVIPC
## bool "System V IPC"
SYSVIPC=y
# www-client:google-chrome-46.0.2490.80_p1:
# > CONFIG_COMPAT_VDSO causes segfaults (bug #556286)
## config COMPAT_VDSO
## def_bool n
## prompt "Disable the 32-bit vDSO (needed for glibc 2.3.3)"
COMPAT_VDSO=n
# www-client/google-chrome-54.0.2840.71:
# > USER_NS is required for sandbox to work
## config USER_NS
## bool "User namespace"
USER_NS=y
# media-sound/pulseaudio-7.0:
# > A preallocated buffer-size of 2048 (kB) or higher is recommended for the HD-audio driver!
## config SND_HDA_PREALLOC_SIZE
## int "Pre-allocated buffer size for HD-audio driver"
SND_HDA_PREALLOC_SIZE=2048
## config TMPFS
## bool "Tmpfs virtual memory file system support (former shm fs)"
TMPFS=y
## config TMPFS_POSIX_ACL
## bool "Tmpfs POSIX Access Control Lists"
TMPFS_POSIX_ACL=y
# app-emulation/qemu-2.7.0-r4:
## config KVM
## tristate "Kernel-based Virtual Machine (KVM) support"
KVM=m
## config KVM_INTEL
## tristate "KVM for Intel processors support"
KVM_INTEL=m
## config KVM_AMD
## tristate "KVM for AMD processors support"
KVM_AMD=m
## config TUN
## tristate "Universal TUN/TAP device driver support"
TUN=m
## config BRIDGE
## tristate "802.1d Ethernet Bridging"
BRIDGE=m
# app-emulation/qemu-2.7.0-r4[vhost-net]:
## config VHOST_NET
## tristate "Host kernel accelerator for virtio net"
VHOST_NET=m
# net-wireless/blueman-2.0.4[network]:
## config BRIDGE
## tristate "802.1d Ethernet Bridging"
BRIDGE=m
## menuconfig NETFILTER
## bool "Network packet filtering framework (Netfilter)"
NETFILTER=y
## config NF_CONNTRACK
## tristate "Netfilter connection tracking support"
NF_CONNTRACK=m
## config NF_CONNTRACK_IPV4
## tristate "IPv4 connection tracking support (required for NAT)"
NF_CONNTRACK_IPV4=m
## config IP_NF_IPTABLES
## tristate "IP tables support (required for filtering/masq/NAT)"
IP_NF_IPTABLES=m
## config IP_NF_NAT
## tristate "iptables NAT support"
IP_NF_NAT=m
## config IP_NF_TARGET_MASQUERADE
## tristate "MASQUERADE target support"
IP_NF_TARGET_MASQUERADE=m
# sys-apps/pv-1.6.0-r1
# > - SYSVIPC - You will need to enable CONFIG_SYSVIPC in your kernel to use the --remote option.
## config SYSVIPC
## bool "System V IPC"
SYSVIPC=y
# sys-apps/irqbalance-1.1.0
# > - PCI_MSI
## config PCI_MSI
## bool "Message Signaled Interrupts (MSI and MSI-X)"
PCI_MSI=y
# sys-apps/lm_sensors-3.4.0_p20160725
# > - HWMON - lm_sensors requires CONFIG_HWMON to be enabled for use.
# > - I2C_CHARDEV - sensors-detect requires CONFIG_I2C_CHARDEV to be enabled.
# > - I2C - lm_sensors requires CONFIG_I2C to be enabled for most sensors.
## menuconfig HWMON
## tristate "Hardware Monitoring support"
HWMON=m
## config I2C_CHARDEV
## tristate "I2C device interface"
I2C_CHARDEV=m
# Intel CPU.
## config SENSORS_CORETEMP
## tristate "Intel Core/Core2/Atom temperature sensor"
SENSORS_CORETEMP=m
## config I2C
## tristate "I2C support"
I2C=y
# sys-apps/keyutils-1.5.9-r3
# > - KEYS - You must have CONFIG_KEYS to use this package!
## config KEYS
## bool "Enable access key retention support"
KEYS=y
# sys-apps/iotop-0.6
# > - TASK_IO_ACCOUNTING
# > - TASK_DELAY_ACCT
# > - TASKSTATS
# > - VM_EVENT_COUNTERS
## config TASKSTATS
## bool "Export task/process statistics through netlink"
TASKSTATS=y
## config TASK_DELAY_ACCT
## bool "Enable per-task delay accounting"
TASK_DELAY_ACCT=y
## config TASK_XACCT
## bool "Enable extended accounting over taskstats"
TASK_XACCT=y
## config TASK_IO_ACCOUNTING
## bool "Enable per-task storage I/O accounting"
TASK_IO_ACCOUNTING=y
## config VM_EVENT_COUNTERS
## default y
## bool "Enable VM event counters for /proc/vmstat" if EXPERT
VM_EVENT_COUNTERS=y
# sys-fs/fuse-2.9.7
# > - FUSE_FS
## config FUSE_FS
## tristate "FUSE (Filesystem in Userspace) support"
FUSE_FS=m
# sys-fs/udisks-2.1.8
# > - IDE (should not set)
# > - TMPFS_POSIX_ACL
# > - SWAP
# > - NLS_UTF8
## menuconfig IDE
## tristate "ATA/ATAPI/MFM/RLL support (DEPRECATED)"
IDE=n
## config TMPFS_POSIX_ACL
## bool "Tmpfs POSIX Access Control Lists"
TMPFS_POSIX_ACL=y
## config SWAP
## bool "Support for paging of anonymous memory (swap)"
SWAP=y
## config NLS_UTF8
## tristate "NLS UTF-8"
NLS_UTF8=y
# sys-fs/ntfs3g-2016.2.22-r2
# > - FUSE_FS
## config FUSE_FS
## tristate "FUSE (Filesystem in Userspace) support"
FUSE_FS=m
# dev-libs/libcgroup-0.41-r4
# > - CGROUPS
# > - CONNECTOR
# > - PROC_EVENTS
## menuconfig CGROUPS
## bool "Control Group support"
CGROUPS=y
## menuconfig CONNECTOR
## tristate "Connector - unified userspace <-> kernelspace linker"
CONNECTOR=y
## config PROC_EVENTS
## bool "Report process events to userspace"
PROC_EVENTS=y
# net-misc/networkmanager-1.4.4-r1
# > - NF_NAT_IPV4
# > - NF_NAT_MASQUERADE_IPV4
## config NF_NAT_IPV4
## tristate "IPv4 NAT"
NF_NAT_IPV4=m
## config NF_NAT_MASQUERADE_IPV4
## tristate "IPv4 masquerade support"
NF_NAT_MASQUERADE_IPV4=m
# sys-power/powertop-2.8
# > - X86_MSR
# > - DEBUG_FS
# > - PERF_EVENTS
# > - TRACEPOINTS
# > - NO_HZ
# > - HIGH_RES_TIMERS
# > - HPET_TIMER
# > - CPU_FREQ_STAT
# > - CPU_FREQ_GOV_ONDEMAND
# > - FTRACE
# > - BLK_DEV_IO_TRACE
# > - TIMER_STATS
# > - TRACING
## config X86_MSR
## tristate "/dev/cpu/*/msr - Model-specific register support"
X86_MSR=m
## config DEBUG_FS
## bool "Debug Filesystem"
DEBUG_FS=y
## config PERF_EVENTS
## bool "Kernel performance events and counters"
PERF_EVENTS=y
## config TRACEPOINTS
## bool
TRACEPOINTS=y
## config NO_HZ
## bool "Old Idle dynticks config"
NO_HZ=y
## config HIGH_RES_TIMERS
## bool "High Resolution Timer Support"
HIGH_RES_TIMERS=y
## config HPET_TIMER
## def_bool X86_64
HPET_TIMER=y
## config CPU_FREQ_STAT
## bool "CPU frequency transition statistics"
CPU_FREQ_STAT=y
## config CPU_FREQ_GOV_ONDEMAND
## tristate "'ondemand' cpufreq policy governor"
CPU_FREQ_GOV_ONDEMAND=m
## menuconfig FTRACE
## bool "Tracers"
FTRACE=y
## config BLK_DEV_IO_TRACE
## bool "Support for tracing block IO actions"
BLK_DEV_IO_TRACE=y
## config DEBUG_KERNEL
## bool "Kernel debugging"
DEBUG_KERNEL=y
## config TIMER_STATS
## bool "Collect kernel timers statistics"
TIMER_STATS=y
## config TRACING
## bool
TRACING=y
# x11-drivers/x86-input-evdev-2.10.5
# > - INPUT_EVDEV
## config INPUT_EVDEV
## tristate "Event interface"
INPUT_EVDEV=m
# x11-drivers/x86-input-synaptics-1.9.0
# > * Device Drivers --->
# > * Input device support --->
# > * <*> Event interface
## config INPUT_EVDEV
## tristate "Event interface"
INPUT_EVDEV=m
# net-fs/cifs-utils-6.6-r2
# > * You must enable CIFS support in your kernel config,
# > * to be able to mount samba shares. You can find it at
# > *
# > * File systems
# > * Network File Systems
# > * CIFS support
# > *
# > * and recompile your kernel ...
## config CIFS
## tristate "CIFS support (advanced network filesystem, SMBFS successor)"
CIFS=m
# net-dialup/ppp-2.4.7-r3
# > * - PPP
# > * - PPP_ASYNC
# > * - PPP_SYNC_TTY
# > * - PPP_DEFLATE
# > * - PPP_BSDCOMP
# > * - PPP_MPPE
# > * - PPPOE
# > * - PACKET
## config PPP
## tristate "PPP (point-to-point protocol) support"
PPP=m
## config PPP_ASYNC
## tristate "PPP support for async serial ports"
PPP_ASYNC=m
## config PPP_SYNC_TTY
## tristate "PPP support for sync tty ports"
PPP_SYNC_TTY=m
## config PPP_DEFLATE
## tristate "PPP Deflate compression"
PPP_DEFLATE=m
## config PPP_BSDCOMP
## tristate "PPP BSD-Compress compression"
PPP_BSDCOMP=m
## config PPP_MPPE
## tristate "PPP MPPE compression (encryption)"
PPP_MPPE=m
## config PPPOE
## tristate "PPP over Ethernet"
PPPOE=m
# vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4 :
# Laptop.
#
# Basic settings (common)
#
# See https://wiki.gentoo.org/wiki/Kernel/Configuration .
# Modules.
## config FIRMWARE_IN_KERNEL
## bool "Include in-kernel firmware blobs in kernel binary"
FIRMWARE_IN_KERNEL=y
## menuconfig MODULES
## bool "Enable loadable module support"
MODULES=y
## config MODULE_COMPRESS
## bool "Compress modules on installation"
#CONFIG_MODULE_COMPRESS=y
## config MODULE_COMPRESS_XZ
## bool "XZ"
#CONFIG_MODULE_COMPRESS_XZ=y
# SCSI and SATA.
## config SCSI
## tristate "SCSI device support"
SCSI=y
## config BLK_DEV_SD
## tristate "SCSI disk support"
BLK_DEV_SD=y
## config BLK_DEV_SR
## tristate "SCSI CDROM support"
BLK_DEV_SR=y
## menuconfig SCSI_LOWLEVEL
## bool "SCSI low-level drivers"
SCSI_LOWLEVEL=n
## menuconfig ATA
## tristate "Serial ATA and Parallel ATA drivers (libata)"
ATA=y
# USB.
## config USB
## tristate "Support for Host-side USB"
USB=m
# PCI (required for USB).
## config PCI
## bool "PCI support"
PCI=y
## config PCI_MSI
## bool "Message Signaled Interrupts (MSI and MSI-X)"
PCI_MSI=y
# "If unsure say Y".
## config HT_IRQ
## bool "Interrupts on hypertransport devices"
HT_IRQ=y
# > It's safe to say "y" even if your
# > controller doesn't support this feature.
## config USB_EHCI_ROOT_HUB_TT
## bool "Root Hub Transaction Translators"
USB_EHCI_ROOT_HUB_TT=y
## config USB_XHCI_HCD
## tristate "xHCI HCD (USB 3.0) support"
USB_XHCI_HCD=m
## config USB_EHCI_HCD
## tristate "EHCI HCD (USB 2.0) support"
USB_EHCI_HCD=m
## config USB_OHCI_HCD
## tristate "OHCI HCD (USB 1.1) support"
USB_OHCI_HCD=m
## config USB_OHCI_HCD_PCI
## tristate "OHCI support for PCI-bus USB controllers"
USB_OHCI_HCD_PCI=m
## config USB_UHCI_HCD
## tristate "UHCI HCD (most Intel and VIA) support"
USB_UHCI_HCD=m
## config USB_ANNOUNCE_NEW_DEVICES
## bool "USB announce new devices"
USB_ANNOUNCE_NEW_DEVICES=y
# USB tethering support.
# See https://wiki.gentoo.org/wiki/Android_USB_Tethering .
## menuconfig USB_NET_DRIVERS
## tristate "USB Network Adapters"
USB_NET_DRIVERS=m
## config USB_USBNET
## tristate "Multi-purpose USB Networking Framework"
USB_USBNET=m
## config USB_NET_CDCETHER
## tristate "CDC Ethernet support (smart devices such as cable modems)"
USB_NET_CDCETHER=m
## config USB_NET_CDC_EEM
## tristate "CDC EEM support"
USB_NET_CDC_EEM=m
## config USB_NET_CDC_SUBSET
## tristate "Simple USB Network Links (CDC Ethernet subset)"
USB_NET_CDC_SUBSET=m
## config USB_ARMLINUX
## bool "Embedded ARM Linux links (iPaq, ...)"
USB_ARMLINUX=y
## config USB_PRINTER
## tristate "USB Printer support"
# * Messages for package net-print/cups-2.2.1:
#
# * Your usb printers will be managed via libusb. In this case,
# * cups-2.2.1 requires the USB_PRINTER support disabled.
# * Please disable it:
# * CONFIG_USB_PRINTER=n
# * in /usr/src/linux/.config or
# * Device Drivers --->
# * USB support --->
# * [ ] USB Printer support
# * Alternatively, just disable the usb useflag for cups (your printer will still work).
USB_PRINTER=n
## config USB_STORAGE
## tristate "USB Mass Storage support"
USB_STORAGE=m
## config USB_HID
## tristate "USB HID transport layer"
USB_HID=m
## config USB_HIDDEV
## bool "/dev/hiddev raw HID device support"
USB_HIDDEV=y
## config USB_MON
## tristate "USB Monitor"
# > If you select this option, a component which captures the USB traffic
# > between peripheral-specific drivers and HC drivers will be built.
# > For more information, see <file:Documentation/usb/usbmon.txt>.
USB_MON=m
# Multiprocessor, hyper-threading and multi-core.
## config SMP
## bool "Symmetric multi-processing support"
SMP=y
## config SCHED_SMT
## bool "SMT (Hyperthreading) scheduler support"
SCHED_SMT=y
## config SCHED_MC
## bool "Multi-core scheduler support"
SCHED_MC=y
## menuconfig ACPI
## bool "ACPI (Advanced Configuration and Power Interface) Support"
ACPI=y
#
# Basic settings (common)
#
# See https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel .
# GPT and UEFI.
## config PARTITION_ADVANCED
## bool "Advanced partition selection"
PARTITION_ADVANCED=y
## config EFI_PARTITION
## bool "EFI GUID Partition support" if PARTITION_ADVANCED
EFI_PARTITION=y
## config EFI
## bool "EFI runtime service support"
EFI=y
## config EFI_STUB
## bool "EFI stub support"
EFI_STUB=y
## config EFI_VARS
## tristate "EFI Variable Support via sysfs"
EFI_VARS=y
#
# Basic settings
#
# 64bit.
## config 64BIT
## bool "64-bit kernel" if ARCH = "x86"
64BIT=y
# Gentoo.
## config GENTOO_LINUX
## bool "Gentoo Linux support"
GENTOO_LINUX=y
## config GENTOO_LINUX_UDEV
## bool "Linux dynamic and persistent device naming (userspace devfs) support"
#CONFIG_GENTOO_LINUX_UDEV=y
## config GENTOO_LINUX_PORTAGE
## bool "Select options required by Portage features"
#CONFIG_GENTOO_LINUX_PORTAGE=y
## config GENTOO_LINUX_INIT_SCRIPT
## bool "OpenRC, runit and other script based systems and managers"
GENTOO_LINUX_INIT_SCRIPT=n
## config GENTOO_LINUX_INIT_SYSTEMD
## bool "systemd"
GENTOO_LINUX_INIT_SYSTEMD=y
# Modules.
## menuconfig MODULES
## bool "Enable loadable module support"
MODULES=y
## config MODULE_UNLOAD
## bool "Module unloading"
MODULE_UNLOAD=y
## config MODULE_FORCE_UNLOAD
## bool "Forced module unloading"
MODULE_FORCE_UNLOAD=y
# Encryption.
## menuconfig MD
## bool "Multiple devices driver support (RAID and LVM)"
MD=y
## config BLK_DEV_DM
## tristate "Device mapper support"
BLK_DEV_DM=y
## config DM_CRYPT
## tristate "Crypt target support"
DM_CRYPT=y
## menuconfig CRYPTO
## tristate "Cryptographic API"
CRYPTO=y
## config CRYPTO_XTS
## tristate "XTS support"
CRYPTO_XTS=y
## config CRYPTO_SHA256
## tristate "SHA224 and SHA256 digest algorithm"
CRYPTO_SHA256=y
## config CRYPTO_SHA256_SSSE3
## tristate "SHA256 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)"
CRYPTO_SHA256_SSSE3=y
## config CRYPTO_SHA512
## tristate "SHA384 and SHA512 digest algorithms"
CRYPTO_SHA512=y
## config CRYPTO_SHA512_SSSE3
## tristate "SHA512 digest algorithm (SSSE3/AVX/AVX2)"
CRYPTO_SHA512_SSSE3=y
## config CRYPTO_AES
## tristate "AES cipher algorithms"
CRYPTO_AES=y
## config CRYPTO_AES_X86_64
## tristate "AES cipher algorithms (x86_64)"
CRYPTO_AES_X86_64=y
## config CRYPTO_AES_NI_INTEL
## tristate "AES cipher algorithms (AES-NI)"
CRYPTO_AES_NI_INTEL=y
## config CRYPTO_USER_API_SKCIPHER
## tristate "User-space interface for symmetric key cipher algorithms"
CRYPTO_USER_API_SKCIPHER=y
## config BLK_DEV_INITRD
## bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
BLK_DEV_INITRD=y
# Filesystems.
# btrfs.
## config BTRFS_FS
## tristate "Btrfs filesystem support"
BTRFS_FS=y
## config BTRFS_FS_POSIX_ACL
## bool "Btrfs POSIX Access Control Lists"
BTRFS_FS_POSIX_ACL=y
# ext3/4.
## config EXT3_FS
## tristate "The Extended 3 (ext3) filesystem"
EXT3_FS=m
## config EXT3_FS_POSIX_ACL
## bool "Ext3 POSIX Access Control Lists"
EXT3_FS_POSIX_ACL=y
## config EXT4_FS
## tristate "The Extended 4 (ext4) filesystem"
EXT4_FS=m
# fuse.
## config FUSE_FS
## tristate "FUSE (Filesystem in Userspace) support"
FUSE_FS=m
## config CUSE
## tristate "Character device in Userspace support"
CUSE=m
# Hugepages.
## config HUGETLBFS
## bool "HugeTLB file system support"
HUGETLBFS=y
# Tmpfs.
## config TMPFS
## bool "Tmpfs virtual memory file system support (former shm fs)"
TMPFS=y
## config TMPFS_POSIX_ACL
## bool "Tmpfs POSIX Access Control Lists"
TMPFS_POSIX_ACL=y
## config TMPFS_XATTR
## bool "Tmpfs extended attributes"
TMPFS_XATTR=y
# SATA.
## config SATA_AHCI
## tristate "AHCI SATA support"
SATA_AHCI=y
# Preemption and timer.
## config PREEMPT_VOLUNTARY
## bool "Voluntary Kernel Preemption (Desktop)"
PREEMPT_VOLUNTARY=y
## choice
## prompt "Timer frequency"
## config HZ_1000
## bool "1000 HZ"
HZ_1000=y
# Intel CPU.
## config X86_MCE
## bool "Machine Check / overheating reporting"
X86_MCE=y
## config X86_MCE_INTEL
## def_bool y
## prompt "Intel MCE features"
X86_MCE_INTEL=y
## config X86_MCE_AMD
## def_bool y
## prompt "AMD MCE features"
X86_MCE_AMD=n
## config MICROCODE
## bool "CPU microcode loading support"
MICROCODE=y
## config MICROCODE_INTEL
## bool "Intel microcode loading support"
MICROCODE_INTEL=y
## config IA32_EMULATION
## bool "IA32 Emulation"
IA32_EMULATION=y
# Haswell.
## config MCORE2
## bool "Core 2/newer Xeon"
MCORE2=y
## config CPU_FREQ
## bool "CPU Frequency scaling"
CPU_FREQ=y
## config CPU_FREQ_DEFAULT_GOV_PERFORMANCE
## bool "performance"
CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
## config CPU_FREQ_GOV_POWERSAVE
## tristate "'powersave' governor"
CPU_FREQ_GOV_POWERSAVE=y
## config CPU_FREQ_GOV_USERSPACE
## tristate "'userspace' governor for userspace frequency scaling"
CPU_FREQ_GOV_USERSPACE=m
## config CPU_FREQ_GOV_ONDEMAND
## tristate "'ondemand' cpufreq policy governor"
CPU_FREQ_GOV_ONDEMAND=m
## config CPU_FREQ_GOV_CONSERVATIVE
## tristate "'conservative' cpufreq governor"
CPU_FREQ_GOV_CONSERVATIVE=m
## config X86_INTEL_PSTATE
## bool "Intel P state control"
X86_INTEL_PSTATE=y
## config X86_PCC_CPUFREQ
## tristate "Processor Clocking Control interface driver"
X86_PCC_CPUFREQ=m
## config INTEL_IDLE
## bool "Cpuidle Driver for Intel Processors"
INTEL_IDLE=y
#
# Custom settings
#
# Network.
## config PACKET
## tristate "Packet socket"
PACKET=y
## config UNIX
## tristate "Unix domain sockets"
UNIX=y
## config XFRM_USER
## tristate "Transformation user configuration interface"
XFRM_USER=m
## config NET_KEY
## tristate "PF_KEY sockets"
NET_KEY=m
# Avahi.
# See https://wiki.gentoo.org/wiki/Avahi .
## config IP_MULTICAST
## bool "IP: multicasting"
IP_MULTICAST=y
# Drivers and settings.
# `sudo lspci -k` to see modules in use for devices.
## menuconfig RFKILL
## tristate "RF switch subsystem support"
RFKILL=m
# Wireless LAN.
## config CFG80211
## tristate "cfg80211 - wireless configuration API"
CFG80211=m
## config MAC80211
## tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
MAC80211=m
## menuconfig NETDEVICES
## bool "Network device support"
NETDEVICES=y
## menuconfig ETHERNET
## bool "Ethernet driver support"
ETHERNET=y
## menuconfig WLAN
## bool "Wireless LAN"
WLAN=y
# lifebook.
## config IPW2200
## tristate "Intel PRO/Wireless 2200BG and 2915ABG Network Connection"
IPW2200=m
## config IPW2200_MONITOR
## bool "Enable promiscuous mode"
IPW2200_MONITOR=y
## config IPW2200_PROMISCUOUS
## bool "Enable creation of a RF radiotap promiscuous interface"
IPW2200_PROMISCUOUS=y
# Bluetooth.
## menuconfig BT
## tristate "Bluetooth subsystem support"
BT=m
# BT_RFCOMM is required for OBEX.
## config BT_RFCOMM
## tristate "RFCOMM protocol support"
BT_RFCOMM=m
## config BT_BNEP
## tristate "BNEP protocol support"
BT_BNEP=m
## config BT_HIDP
## tristate "HIDP protocol support"
BT_HIDP=m
## config BT_HCIBTUSB
## tristate "HCI USB driver"
BT_HCIBTUSB=m
## config BT_HCIBTUART
## tristate "HCI UART (PC Card) device driver"
BT_HCIUART=m
## config BT_HCIUART_ATH3K
## bool "Atheros AR300x serial support"
BT_HCIUART_ATH3K=y
## config BT_ATH3K
## tristate "Atheros firmware download driver"
BT_ATH3K=m
## config UHID
## tristate "User-space I/O driver support for HID subsystem"
UHID=m
# e1000e for ethernet controller.
## config NET_VENDOR_INTEL
## bool "Intel devices"
NET_VENDOR_INTEL=y
## config E1000E
## tristate "Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support"
E1000E=y
# ath9k for wireless network adapter.
## config WLAN_VENDOR_ATH
## bool "Atheros/Qualcomm devices"
WLAN_VENDOR_ATH=y
## config ATH9K
## tristate "Atheros 802.11n wireless cards support"
ATH9K=m
# rtsx_pci for lifebook card reader.
## config MFD_RTSX_PCI
## tristate "Realtek PCI-E card reader"
MFD_RTSX_PCI=m
# i2c_i801 for SMBus controller.
## config I2C
## tristate "I2C support"
I2C=y
## config I2C_I801
## tristate "Intel 82801 (ICH/PCH)"
I2C_I801=m
# pcieport for PCIE.
## config PCIEPORTBUS
## bool "PCI Express Port Bus support"
PCIEPORTBUS=y
# Soundcard.
# 1. `head -n 1 /proc/asound/card*/codec\#0`
# 2. Read `/usr/src/linux/Documentation/sound/alsa/ALSA-Configuration.txt`
## menuconfig SOUND
## tristate "Sound card support"
SOUND=y
## menuconfig SND
## tristate "Advanced Linux Sound Architecture"
SND=m
## config SND_HDA_INTEL
## tristate "HD Audio PCI"
SND_HDA_INTEL=m
# Codec: Intel Haswell HDMI
## config SND_HDA_CODEC_HDMI
## tristate "Build HDMI/DisplayPort HD-audio codec support"
SND_HDA_CODEC_HDMI=m
# Codec: Realtek ALC283
## config SND_HDA_CODEC_REALTEK
## tristate "Build Realtek HD-audio codec support"
SND_HDA_CODEC_REALTEK=m
# Other.
## config SND_HDA_CODEC_ANALOG
## tristate "Build Analog Device HD-audio codec support"
SND_HDA_CODEC_ANALOG=m
## config SND_HDA_I915
## bool
## default y
## depends on DRM_I915
## depends on SND_HDA_CORE
SND_HDA_I915=y
## menuconfig SND_USB
## bool "USB sound devices"
SND_USB=y
## config SND_USB_AUDIO
## tristate "USB Audio/MIDI driver"
SND_USB_AUDIO=m
# dmesg:
# > [ 9.186112] snd_hda_intel 0000:00:03.0: Too many HDMI devices
# > [ 9.210980] snd_hda_intel 0000:00:03.0: Consider building the kernel with CONFIG_SND_DYNAMIC_MINORS=y
## config SND_DYNAMIC_MINORS
## bool "Dynamic device file minor numbers"
SND_DYNAMIC_MINORS=y
# Fujitsu laptop
## menuconfig X86_PLATFORM_DEVICES
## bool "X86 Platform Specific Device Drivers"
X86_PLATFORM_DEVICES=y
## config FUJITSU_LAPTOP
## tristate "Fujitsu Laptop Extras"
FUJITSU_LAPTOP=m
# Intel graphics.
# See https://wiki.gentoo.org/wiki/Intel .
## config FW_LOADER
## tristate "Userspace firmware loading support" if EXPERT
FW_LOADER=y
## config FIRMWARE_IN_KERNEL
## bool "Include in-kernel firmware blobs in kernel binary"
FIRMWARE_IN_KERNEL=y
## config MTRR
## def_bool y
## prompt "MTRR (Memory Type Range Register) support" if EXPERT
MTRR=y
## menuconfig AGP
## tristate "/dev/agpgart (AGP Support)"
AGP=y
## config AGP_INTEL
## tristate "Intel 440LX/BX/GX, I8xx and E7x05 chipset support"
AGP_INTEL=y
## menuconfig DRM
## tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
DRM=y
## config DRM_FBDEV_EMULATION
## bool "Enable legacy fbdev support for your modesetting driver"
DRM_FBDEV_EMULATION=y
## config DRM_I915
## tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
DRM_I915=y
# Webcam.
## menuconfig MEDIA_SUPPORT
## tristate "Multimedia support"
MEDIA_SUPPORT=m
## config MEDIA_CAMERA_SUPPORT
## bool "Cameras/video grabbers support"
MEDIA_CAMERA_SUPPORT=y
## menuconfig MEDIA_USB_SUPPORT
## bool "Media USB Adapters"
MEDIA_USB_SUPPORT=y
## config USB_VIDEO_CLASS
## tristate "USB Video Class (UVC)"
USB_VIDEO_CLASS=m
## menuconfig USB_GSPCA
## tristate "GSPCA based webcams"
USB_GSPCA=n
# Others.
## menuconfig POWER_AVS
## bool "Adaptive Voltage Scaling class support"
POWER_AVS=y
# Sound.
## menuconfig SOUND
## tristate "Sound card support"
SOUND=y
## menuconfig SND
## tristate "Advanced Linux Sound Architecture"
SND=m
## config SND_SEQUENCER
## tristate "Sequencer support"
SND_SEQUENCER=m
## config SND_MIXER_OSS
## tristate "OSS Mixer API"
SND_MIXER_OSS=m
## config SND_PCM_OSS
## tristate "OSS PCM (digital audio) API"
SND_PCM_OSS=m
## config SND_SEQUENCER_OSS
## bool "OSS Sequencer API"
SND_SEQUENCER_OSS=y
# Input.
# TODO: cwm
## menuconfig INPUT_JOYSTICK
## bool "Joysticks/Gamepads"
INPUT_JOYSTICK=y
## config INPUT_JOYDEV
## tristate "Joystick interface"
INPUT_JOYDEV=y
## menuconfig INPUT_MISC
## bool "Miscellaneous devices"
INPUT_MISC=y
## config INPUT_PCSPKR
## tristate "PC Speaker support"
INPUT_PCSPKR=y
## config INPUT_UINPUT
## tristate "User level driver support"
INPUT_UINPUT=y
## config SERIO_SERPORT
## tristate "Serial port line discipline"
SERIO_SERPORT=m
# Touchpad.
## config MOUSE_SYNAPTICS_I2C
## tristate "Synaptics I2C Touchpad support"
MOUSE_SYNAPTICS_I2C=m
# Filesystems.
## config ISO9660_FS
## tristate "ISO 9660 CDROM file system support"
ISO9660_FS=m
## config JOLIET
## bool "Microsoft Joliet CDROM extensions"
JOLIET=y
## config ZISOFS
## bool "Transparent decompression extension"
ZISOFS=y
## config UDF_FS
## tristate "UDF file system support"
UDF_FS=m
## config MSDOS_FS
## tristate "MSDOS fs support"
MSDOS_FS=m
# FAT
## config VFAT_FS
## tristate "VFAT (Windows-95) fs support"
VFAT_FS=m
## config FAT_DEFAULT_CODEPAGE
## int "Default codepage for FAT"
FAT_DEFAULT_CODEPAGE=932
## config FAT_DEFAULT_UTF8
## bool "Enable FAT UTF-8 option by default"
FAT_DEFAULT_UTF8=y
## config NTFS_FS
## tristate "NTFS file system support"
# NTFS
## config NTFS_FS
## tristate "NTFS file system support"
NTFS_FS=m
## config NTFS_RW
## bool "NTFS write support"
NTFS_RW=y
# NLS
## menuconfig NLS
## tristate "Native language support"
NLS=y
## config NLS_ISO8859_1
## tristate "NLS ISO 8859-1 (Latin 1; Western European Languages)"
NLS_ISO8859_1=m
## config NLS_CODEPAGE_932
## tristate "Japanese charsets (Shift-JIS, EUC-JP)"
NLS_CODEPAGE_932=m
## config NLS_UTF8
## tristate "NLS UTF-8"
NLS_UTF8=y
# NFS
## config NFS_FS
## tristate "NFS client support"
NFS_FS=m
## config NFS_V2
## tristate "NFS client support for NFS version 2"
NFS_V2=m
## config NFS_V3
## tristate "NFS client support for NFS version 3"
NFS_V3=m
## config NFS_V3_ACL
## bool "NFS client support for the NFSv3 ACL protocol extension"
NFS_V3_ACL=y
## config NFS_V4
## tristate "NFS client support for NFS version 4"
NFS_V4=m
## config NFS_V4_1
## bool "NFS client support for NFSv4.1"
#CONFIG_NFS_V4_1=y
## config NFS_V4_2
## bool "NFS client support for NFSv4.2"
#CONFIG_NFS_V4_2=y
## config CIFS
## tristate "CIFS support (advanced network filesystem, SMBFS successor)"
CIFS=m
## config CIFS_STATS
## bool "CIFS statistics"
CIFS_STATS=y
## config CIFS_STATS2
## bool "Extended statistics"
CIFS_STATS2=y
## config CIFS_XATTR
## bool "CIFS extended attributes"
CIFS_XATTR=y
## config CIFS_POSIX
## bool "CIFS POSIX Extensions"
CIFS_POSIX=y
## config CIFS_SMB2
## bool "SMB2 and SMB3 network file system support"
CIFS_SMB2=y
# Xorg and Intel driver.
# See https://wiki.gentoo.org/wiki/Xorg/Guide .
## config INPUT_EVDEV
## tristate "Event interface"
INPUT_EVDEV=m
## menuconfig FB
## tristate "Support for frame buffer devices"
FB=y
## config FB_EFI
## bool "EFI-based Framebuffer Support"
FB_EFI=y
## config FRAMEBUFFER_CONSOLE
## tristate "Framebuffer Console support"
FRAMEBUFFER_CONSOLE=y
## menuconfig DRM
## tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
DRM=y
## menuconfig AGP
## tristate "/dev/agpgart (AGP Support)"
AGP=y
# Boot logo.
## menuconfig LOGO
## bool "Bootup logo"
LOGO=y
# Timer and clock.
## config HIGH_RES_TIMERS
## bool "High Resolution Timer Support"
HIGH_RES_TIMERS=y
## config NO_HZ_IDLE
## bool "Idle dynticks system (tickless idle)"
NO_HZ_IDLE=y
# Kernel
## config IKCONFIG
## tristate "Kernel .config support"
IKCONFIG=m
## config IKCONFIG_PROC
## bool "Enable access to .config through /proc/config.gz"
IKCONFIG_PROC=y
# Cgroups.
## config MEMCG
## bool "Memory controller"
MEMCG=y
## config MEMCG_SWAP
## bool "Swap controller"
MEMCG_SWAP=y
## config MEMCG_SWAP_ENABLED
## bool "Swap controller enabled by default"
MEMCG_SWAP_ENABLED=y
## config BLK_CGROUP
## bool "IO controller"
BLK_CGROUP=y
## menuconfig CGROUP_SCHED
## bool "CPU controller"
CGROUP_SCHED=y
## config FAIR_GROUP_SCHED
## bool "Group scheduling for SCHED_OTHER"
FAIR_GROUP_SCHED=y
## config CFS_BANDWIDTH
## bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
CFS_BANDWIDTH=y
## config RT_GROUP_SCHED
## bool "Group scheduling for SCHED_RR/FIFO"
RT_GROUP_SCHED=y
## config CGROUP_FREEZER
## bool "Freezer controller"
CGROUP_FREEZER=y
## config CGROUP_HUGETLB
## bool "HugeTLB controller"
CGROUP_HUGETLB=y
## config CPUSETS
## bool "Cpuset controller"
CPUSETS=y
## config CGROUP_DEVICE
## bool "Device controller"
CGROUP_DEVICE=y
## config CGROUP_CPUACCT
## bool "Simple CPU accounting controller"
CGROUP_CPUACCT=y
## config SCHED_AUTOGROUP
## bool "Automatic process group scheduling"
SCHED_AUTOGROUP=y
# Initrd/initramfs support.
## config BLK_DEV_INITRD
## bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
BLK_DEV_INITRD=y
# Suspend.
## config SUSPEND
## bool "Suspend to RAM and standby"
SUSPEND=y
# Hibernation.
## config HIBERNATION
## bool "Hibernation (aka 'suspend to disk')"
HIBERNATION=y
# Realtime clock.
## menuconfig RTC_CLASS
## bool "Real Time Clock"
RTC_CLASS=y
# DMA support.
## menuconfig DMADEVICES
## bool "DMA Engine support"
DMADEVICES=y
# LED indicator.
## menuconfig NEW_LEDS
## bool "LED Support"
NEW_LEDS=y
## config LEDS_CLASS
## tristate "LED Class Support"
LEDS_CLASS=y
## menuconfig LEDS_TRIGGERS
## bool "LED Trigger support"
LEDS_TRIGGERS=y
## config LEDS_TRIGGER_TIMER
## tristate "LED Timer Trigger"
LEDS_TRIGGER_TIMER=m
# DVD.
## config CDROM_PKTCDVD
## tristate "Packet writing on CD/DVD media"
CDROM_PKTCDVD=m
# SD card.
## menuconfig MMC
## tristate "MMC/SD/SDIO card support"
MMC=m
## config MMC_BLOCK
## tristate "MMC block device driver"
MMC_BLOCK=m
## config MMC_BLOCK_BOUNCE
## bool "Use bounce buffer for simple hosts"
MMC_BLOCK_BOUNCE=y
## config MMC_REALTEK_PCI
## tristate "Realtek PCI-E SD/MMC Card Interface Driver"
MMC_REALTEK_PCI=m
## config MMC_SDHCI
## tristate "Secure Digital Host Controller Interface support"
MMC_SDHCI=m
## config MMC_SDHCI_PCI
## tristate "SDHCI support on PCI bus"
MMC_SDHCI_PCI=m
## config LEGACY_PTYS
## bool "Legacy (BSD) PTY support"
LEGACY_PTYS=n
# External devices.
# Sony PS2/3/4 accesories
# Note that this may require wlan (like ath5k or ath9k).
## config HID_SONY
## tristate "Sony PS2/3/4 accessories"
HID_SONY=m
# Sony PS2/3/4 accesories force feedback support
## config SONY_FF
## bool "Sony PS2/3/4 accessories force feedback support"
SONY_FF=y
# ELECOM gamepad JC-U2912FBK.
## config HID_GEMBIRD
## tristate "Gembird Joypad"
HID_GEMBIRD=m
# Devices generic?
# Enable force feedback device support.
## config HID_PID
## bool "PID device support"
HID_PID=y
# Battery level reporting for HID devices.
## config HID_BATTERY_STRENGTH
## bool "Battery level reporting for HID devices"
HID_BATTERY_STRENGTH=y
# Good?
## config BSD_PROCESS_ACCT
## bool "BSD Process Accounting"
BSD_PROCESS_ACCT=y
## config BSD_PROCESS_ACCT_V3
## bool "BSD Process Accounting version 3 file format"
BSD_PROCESS_ACCT_V3=y
## config BLK_DEV_LOOP
## tristate "Loopback device support"
BLK_DEV_LOOP=m
## config MAGIC_SYSRQ
## bool "Magic SysRq key"
MAGIC_SYSRQ=y
#
# Package-specific settings
#
# sys-fs/lvm2-2.02.166, sys-apps/systemd-220-r2:
# It's recommended to set an empty value to the following kernel config option:
# CONFIG_UEVENT_HELPER_PATH="/sbin/udevadm"
## config UEVENT_HELPER_PATH
## string "path to uevent helper"
UEVENT_HELPER_PATH=""
# sys-apps/systemd-233
# > * CONFIG_CRYPTO_USER_API_HASH: is not set when it should be.
# > * CONFIG_IDE: should not be set. But it is.
## config CRYPTO_USER_API_HASH
## tristate "User-space interface for hash algorithms"
#CRYPTO_USER_API_HASH=m
CRYPTO_USER_API_HASH=y
## menuconfig IDE
## tristate "ATA/ATAPI/MFM/RLL support (DEPRECATED)"
IDE=n
# sys-fs/lvm2-2.02.105-r2:
# - SYSVIPC - CONFIG_SYSVIPC: is not set (required for udev sync)
## config SYSVIPC
## bool "System V IPC"
SYSVIPC=y
# www-client:google-chrome-46.0.2490.80_p1:
# > CONFIG_COMPAT_VDSO causes segfaults (bug #556286)
## config COMPAT_VDSO
## def_bool n
## prompt "Disable the 32-bit vDSO (needed for glibc 2.3.3)"
COMPAT_VDSO=n
# www-client/google-chrome-54.0.2840.71:
# > USER_NS is required for sandbox to work
## config USER_NS
## bool "User namespace"
USER_NS=y
# media-sound/pulseaudio-7.0:
# > A preallocated buffer-size of 2048 (kB) or higher is recommended for the HD-audio driver!
## config SND_HDA_PREALLOC_SIZE
## int "Pre-allocated buffer size for HD-audio driver"
SND_HDA_PREALLOC_SIZE=2048
## config TMPFS
## bool "Tmpfs virtual memory file system support (former shm fs)"
TMPFS=y
## config TMPFS_POSIX_ACL
## bool "Tmpfs POSIX Access Control Lists"
TMPFS_POSIX_ACL=y
# app-emulation/qemu-2.7.0-r4:
## config KVM
## tristate "Kernel-based Virtual Machine (KVM) support"
KVM=m
## config KVM_INTEL
## tristate "KVM for Intel processors support"
KVM_INTEL=m
## config KVM_AMD
## tristate "KVM for AMD processors support"
KVM_AMD=m
## config TUN
## tristate "Universal TUN/TAP device driver support"
TUN=m
## config BRIDGE
## tristate "802.1d Ethernet Bridging"
BRIDGE=m
# app-emulation/qemu-2.7.0-r4[vhost-net]:
## config VHOST_NET
## tristate "Host kernel accelerator for virtio net"
VHOST_NET=m
# net-wireless/blueman-2.0.4[network]:
## config BRIDGE
## tristate "802.1d Ethernet Bridging"
BRIDGE=m
## menuconfig NETFILTER
## bool "Network packet filtering framework (Netfilter)"
NETFILTER=y
## config NF_CONNTRACK
## tristate "Netfilter connection tracking support"
NF_CONNTRACK=m
## config NF_CONNTRACK_IPV4
## tristate "IPv4 connection tracking support (required for NAT)"
NF_CONNTRACK_IPV4=m
## config IP_NF_IPTABLES
## tristate "IP tables support (required for filtering/masq/NAT)"
IP_NF_IPTABLES=m
## config IP_NF_NAT
## tristate "iptables NAT support"
IP_NF_NAT=m
## config IP_NF_TARGET_MASQUERADE
## tristate "MASQUERADE target support"
IP_NF_TARGET_MASQUERADE=m
# sys-apps/pv-1.6.0-r1
# > - SYSVIPC - You will need to enable CONFIG_SYSVIPC in your kernel to use the --remote option.
## config SYSVIPC
## bool "System V IPC"
SYSVIPC=y
# sys-apps/irqbalance-1.1.0
# > - PCI_MSI
## config PCI_MSI
## bool "Message Signaled Interrupts (MSI and MSI-X)"
PCI_MSI=y
# sys-apps/lm_sensors-3.4.0_p20160725
# > - HWMON - lm_sensors requires CONFIG_HWMON to be enabled for use.
# > - I2C_CHARDEV - sensors-detect requires CONFIG_I2C_CHARDEV to be enabled.
# > - I2C - lm_sensors requires CONFIG_I2C to be enabled for most sensors.
## menuconfig HWMON
## tristate "Hardware Monitoring support"
HWMON=m
## config I2C_CHARDEV
## tristate "I2C device interface"
I2C_CHARDEV=m
# Intel CPU.
## config SENSORS_CORETEMP
## tristate "Intel Core/Core2/Atom temperature sensor"
SENSORS_CORETEMP=m
## config I2C
## tristate "I2C support"
I2C=y
# sys-apps/keyutils-1.5.9-r3
# > - KEYS - You must have CONFIG_KEYS to use this package!
## config KEYS
## bool "Enable access key retention support"
KEYS=y
# sys-apps/iotop-0.6
# > - TASK_IO_ACCOUNTING
# > - TASK_DELAY_ACCT
# > - TASKSTATS
# > - VM_EVENT_COUNTERS
## config TASKSTATS
## bool "Export task/process statistics through netlink"
TASKSTATS=y
## config TASK_DELAY_ACCT
## bool "Enable per-task delay accounting"
TASK_DELAY_ACCT=y
## config TASK_XACCT
## bool "Enable extended accounting over taskstats"
TASK_XACCT=y
## config TASK_IO_ACCOUNTING
## bool "Enable per-task storage I/O accounting"
TASK_IO_ACCOUNTING=y
## config VM_EVENT_COUNTERS
## default y
## bool "Enable VM event counters for /proc/vmstat" if EXPERT
VM_EVENT_COUNTERS=y
# sys-fs/fuse-2.9.7
# > - FUSE_FS
## config FUSE_FS
## tristate "FUSE (Filesystem in Userspace) support"
FUSE_FS=m
# sys-fs/udisks-2.1.8
# > - IDE (should not set)
# > - TMPFS_POSIX_ACL
# > - SWAP
# > - NLS_UTF8
## menuconfig IDE
## tristate "ATA/ATAPI/MFM/RLL support (DEPRECATED)"
IDE=n
## config TMPFS_POSIX_ACL
## bool "Tmpfs POSIX Access Control Lists"
TMPFS_POSIX_ACL=y
## config SWAP
## bool "Support for paging of anonymous memory (swap)"
SWAP=y
## config NLS_UTF8
## tristate "NLS UTF-8"
NLS_UTF8=y
# sys-fs/ntfs3g-2016.2.22-r2
# > - FUSE_FS
## config FUSE_FS
## tristate "FUSE (Filesystem in Userspace) support"
FUSE_FS=m
# dev-libs/libcgroup-0.41-r4
# > - CGROUPS
# > - CONNECTOR
# > - PROC_EVENTS
## menuconfig CGROUPS
## bool "Control Group support"
CGROUPS=y
## menuconfig CONNECTOR
## tristate "Connector - unified userspace <-> kernelspace linker"
CONNECTOR=y
## config PROC_EVENTS
## bool "Report process events to userspace"
PROC_EVENTS=y
# net-misc/networkmanager-1.4.4-r1
# > - NF_NAT_IPV4
# > - NF_NAT_MASQUERADE_IPV4
## config NF_NAT_IPV4
## tristate "IPv4 NAT"
NF_NAT_IPV4=m
## config NF_NAT_MASQUERADE_IPV4
## tristate "IPv4 masquerade support"
NF_NAT_MASQUERADE_IPV4=m
# sys-power/powertop-2.8
# > - X86_MSR
# > - DEBUG_FS
# > - PERF_EVENTS
# > - TRACEPOINTS
# > - NO_HZ
# > - HIGH_RES_TIMERS
# > - HPET_TIMER
# > - CPU_FREQ_STAT
# > - CPU_FREQ_GOV_ONDEMAND
# > - FTRACE
# > - BLK_DEV_IO_TRACE
# > - TIMER_STATS
# > - TRACING
## config X86_MSR
## tristate "/dev/cpu/*/msr - Model-specific register support"
X86_MSR=m
## config DEBUG_FS
## bool "Debug Filesystem"
DEBUG_FS=y
## config PERF_EVENTS
## bool "Kernel performance events and counters"
PERF_EVENTS=y
## config TRACEPOINTS
## bool
TRACEPOINTS=y
## config NO_HZ
## bool "Old Idle dynticks config"
NO_HZ=y
## config HIGH_RES_TIMERS
## bool "High Resolution Timer Support"
HIGH_RES_TIMERS=y
## config HPET_TIMER
## def_bool X86_64
HPET_TIMER=y
## config CPU_FREQ_STAT
## bool "CPU frequency transition statistics"
CPU_FREQ_STAT=y
## config CPU_FREQ_GOV_ONDEMAND
## tristate "'ondemand' cpufreq policy governor"
CPU_FREQ_GOV_ONDEMAND=m
## menuconfig FTRACE
## bool "Tracers"
FTRACE=y
## config BLK_DEV_IO_TRACE
## bool "Support for tracing block IO actions"
BLK_DEV_IO_TRACE=y
## config DEBUG_KERNEL
## bool "Kernel debugging"
DEBUG_KERNEL=y
## config TIMER_STATS
## bool "Collect kernel timers statistics"
TIMER_STATS=y
## config TRACING
## bool
TRACING=y
# x11-drivers/x86-input-evdev-2.10.5
# > - INPUT_EVDEV
## config INPUT_EVDEV
## tristate "Event interface"
INPUT_EVDEV=m
# x11-drivers/x86-input-synaptics-1.9.0
# > * Device Drivers --->
# > * Input device support --->
# > * <*> Event interface
## config INPUT_EVDEV
## tristate "Event interface"
INPUT_EVDEV=m
# net-fs/cifs-utils-6.6-r2
# > * You must enable CIFS support in your kernel config,
# > * to be able to mount samba shares. You can find it at
# > *
# > * File systems
# > * Network File Systems
# > * CIFS support
# > *
# > * and recompile your kernel ...
## config CIFS
## tristate "CIFS support (advanced network filesystem, SMBFS successor)"
CIFS=m
# net-dialup/ppp-2.4.7-r3
# > * - PPP
# > * - PPP_ASYNC
# > * - PPP_SYNC_TTY
# > * - PPP_DEFLATE
# > * - PPP_BSDCOMP
# > * - PPP_MPPE
# > * - PPPOE
# > * - PACKET
## config PPP
## tristate "PPP (point-to-point protocol) support"
PPP=m
## config PPP_ASYNC
## tristate "PPP support for async serial ports"
PPP_ASYNC=m
## config PPP_SYNC_TTY
## tristate "PPP support for sync tty ports"
PPP_SYNC_TTY=m
## config PPP_DEFLATE
## tristate "PPP Deflate compression"
PPP_DEFLATE=m
## config PPP_BSDCOMP
## tristate "PPP BSD-Compress compression"
PPP_BSDCOMP=m
## config PPP_MPPE
## tristate "PPP MPPE compression (encryption)"
PPP_MPPE=m
## config PPPOE
## tristate "PPP over Ethernet"
PPPOE=m
# vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4 :
#!/bin/sh
# These codes are licensed under CC0.
# https://creativecommons.org/publicdomain/zero/1.0/deed.ja
# Set up parameters.
DATETIME="$(date '+%F-%H%M%S')"
: ${SRC_DIR:=/usr/src/linux}
cd "$(dirname "$0")"
DIR="$(pwd)"
CONFFILE_SRC="${DIR}/config"
CONFFILE_TEMP="${DIR}/.temp.$(basename "${CONFFILE_SRC}")"
sed -r -n \
-e 's/^\s*(CONFIG_)?([A-Za-z0-9_]+=.+)$/CONFIG_\2/' \
-e 's/^\s*# (CONFIG_[A-Za-z0-9_]+) is not set$/\1=n/' \
-e '/^CONFIG_/!d' -e 's/^(CONFIG_[^=]+)=n$/# \1 is not set/' \
-e 'p' \
"${CONFFILE_SRC}" | sort -u >"${CONFFILE_TEMP}"
# `merge_config.sh` should be executed in the kernel source directory.
cd "${SRC_DIR}"
cp -f .config ".config-${DATETIME}"
# -n: use allnoconfig instead of alldefconfig
# -r: list redundant entries when merging fragments
./scripts/kconfig/merge_config.sh -r "${CONFFILE_TEMP}"
rm "${CONFFILE_TEMP}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment