2017-09-14 01:09:19 +02:00
|
|
|
# KEEP ALPHABETICALLY SORTED
|
|
|
|
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
|
|
|
# CONFIG_INPUT_MOUSE is not set
|
2019-03-26 07:20:48 +01:00
|
|
|
# CONFIG_KSM is not set
|
2017-09-14 01:09:19 +02:00
|
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
|
|
# CONFIG_NF_CONNTRACK_SIP is not set
|
|
|
|
# CONFIG_VT is not set
|
|
|
|
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
|
|
|
CONFIG_BLK_DEV_DM=y
|
|
|
|
CONFIG_BLK_DEV_RAM=y
|
|
|
|
CONFIG_BLK_DEV_RAM_SIZE=8192
|
|
|
|
CONFIG_COMPACTION=y
|
Enable more options required as dependencies.
When verifying the android-base and android-recommended configurations,
it is useful to start from as minimal a kernel config as possible. The
most minimal config is "allnoconfig".
However, the "allnoconfig" experiment highlights a design problem with
these kernel config fragments. The 'depends' for the options we want to
turn on won't be turned on if the defconfig used as the first parameter
to scripts/kconfig/merge_config.sh forcibly turned them off, even if the
options were 'default y' or 'default m'.
So, rather than relying on somebody running the merge_config.sh having
the 'depends' set favorably for dependent options, explicitly define all
of the dependencies with =y. When testing with an "allnoconfig", which
is a worst-case scenario, all of the 'base' and 'recommended' options
are now turned on correctly.
android-base.cfg:
CONFIG_ADVISE_SYSCALLS=y bionic: madvise, posix_madvise, etc.
CONFIG_BLOCK=y CONFIG_EXT4_FS, CONFIG_F2FS_FS
CONFIG_EPOLL=y bionic: epoll_create, etc.
CONFIG_EVENTFD=y bionic: eventfd etc.
CONFIG_FUTEX=y bionic: __futex_wait, __futex_wake.
CONFIG_PROC_FS=y bionic: linker, pthread, etc.
CONFIG_PROFILING=y CONFIG_UID_SYS_STATS (missing only on 3.18)
CONFIG_SHMEM=y CONFIG_ASHMEM
CONFIG_SIGNALFD=y bionic: signalfd, signalfd64, etc.
CONFIG_SUSPEND=y CONFIG_PM_SLEEP via CONFIG_PM_WAKELOCKS.
CONFIG_SYSFS=y bionic: sysinfo, selinux
CONFIG_TIMERFD=y bionic: timerfd_create, etc.
CONFIG_USB_SUPPORT=y CONFIG_USB_GADGET
android-recommended.cfg:
CONFIG_CONFIGFS_FS=y CONFIG_SDCARD_FS
CONFIG_GPIOLIB=y CONFIG_ANDROID_TIMED_GPIO (only 3.18, 4.4)
CONFIG_HID_GENERIC=y "Support for generic devices on the HID bus"
CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL
CONFIG_KEYS=y CONFIG_ASYMMETRIC_KEY_TYPE
CONFIG_MISC_FILESYSTEMS=y fs/pstore/Kconfig
Bug: 79875143
Change-Id: Ifb76ee5883ff5541771e9a951c055b99fd09e029
Signed-off-by: Alistair Strachan <astrachan@google.com>
2018-05-16 22:53:40 +02:00
|
|
|
CONFIG_CONFIGFS_FS=y
|
2018-08-24 00:15:39 +02:00
|
|
|
CONFIG_COREDUMP=y
|
2018-10-18 22:36:48 +02:00
|
|
|
CONFIG_CPU_FREQ=y
|
|
|
|
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
|
2019-03-26 02:03:12 +01:00
|
|
|
CONFIG_DM_BOW=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_DM_CRYPT=y
|
|
|
|
CONFIG_DM_UEVENT=y
|
|
|
|
CONFIG_DM_VERITY_FEC=y
|
|
|
|
CONFIG_DRAGONRISE_FF=y
|
2018-08-24 00:15:39 +02:00
|
|
|
CONFIG_ELF_CORE=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_ENABLE_DEFAULT_TRACERS=y
|
2019-11-26 01:14:42 +01:00
|
|
|
CONFIG_ENERGY_MODEL=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_EXT4_FS=y
|
|
|
|
CONFIG_EXT4_FS_SECURITY=y
|
2018-08-21 22:45:51 +02:00
|
|
|
CONFIG_F2FS_FS=y
|
|
|
|
CONFIG_F2FS_FS_SECURITY=y
|
2018-05-22 23:33:20 +02:00
|
|
|
CONFIG_FTRACE=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_GREENASIA_FF=y
|
|
|
|
CONFIG_HIDRAW=y
|
|
|
|
CONFIG_HID_A4TECH=y
|
|
|
|
CONFIG_HID_ACRUX=y
|
|
|
|
CONFIG_HID_ACRUX_FF=y
|
|
|
|
CONFIG_HID_APPLE=y
|
|
|
|
CONFIG_HID_BELKIN=y
|
|
|
|
CONFIG_HID_CHERRY=y
|
|
|
|
CONFIG_HID_CHICONY=y
|
|
|
|
CONFIG_HID_CYPRESS=y
|
|
|
|
CONFIG_HID_DRAGONRISE=y
|
|
|
|
CONFIG_HID_ELECOM=y
|
|
|
|
CONFIG_HID_EMS_FF=y
|
|
|
|
CONFIG_HID_EZKEY=y
|
|
|
|
CONFIG_HID_GREENASIA=y
|
|
|
|
CONFIG_HID_GYRATION=y
|
|
|
|
CONFIG_HID_HOLTEK=y
|
|
|
|
CONFIG_HID_KENSINGTON=y
|
|
|
|
CONFIG_HID_KEYTOUCH=y
|
|
|
|
CONFIG_HID_KYE=y
|
|
|
|
CONFIG_HID_LCPOWER=y
|
|
|
|
CONFIG_HID_LOGITECH=y
|
|
|
|
CONFIG_HID_LOGITECH_DJ=y
|
|
|
|
CONFIG_HID_MAGICMOUSE=y
|
|
|
|
CONFIG_HID_MICROSOFT=y
|
|
|
|
CONFIG_HID_MONTEREY=y
|
|
|
|
CONFIG_HID_MULTITOUCH=y
|
|
|
|
CONFIG_HID_NTRIG=y
|
|
|
|
CONFIG_HID_ORTEK=y
|
|
|
|
CONFIG_HID_PANTHERLORD=y
|
|
|
|
CONFIG_HID_PETALYNX=y
|
|
|
|
CONFIG_HID_PICOLCD=y
|
|
|
|
CONFIG_HID_PRIMAX=y
|
|
|
|
CONFIG_HID_PRODIKEYS=y
|
|
|
|
CONFIG_HID_ROCCAT=y
|
|
|
|
CONFIG_HID_SAITEK=y
|
|
|
|
CONFIG_HID_SAMSUNG=y
|
|
|
|
CONFIG_HID_SMARTJOYPLUS=y
|
|
|
|
CONFIG_HID_SPEEDLINK=y
|
2020-01-09 00:13:34 +01:00
|
|
|
CONFIG_HID_STEAM=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_HID_SUNPLUS=y
|
|
|
|
CONFIG_HID_THRUSTMASTER=y
|
|
|
|
CONFIG_HID_TIVO=y
|
|
|
|
CONFIG_HID_TOPSEED=y
|
|
|
|
CONFIG_HID_TWINHAN=y
|
|
|
|
CONFIG_HID_UCLOGIC=y
|
|
|
|
CONFIG_HID_WACOM=y
|
|
|
|
CONFIG_HID_WALTOP=y
|
|
|
|
CONFIG_HID_WIIMOTE=y
|
|
|
|
CONFIG_HID_ZEROPLUS=y
|
|
|
|
CONFIG_HID_ZYDACRON=y
|
|
|
|
CONFIG_INPUT_MISC=y
|
|
|
|
CONFIG_INPUT_TABLET=y
|
|
|
|
CONFIG_INPUT_UINPUT=y
|
|
|
|
CONFIG_ION=y
|
|
|
|
CONFIG_JOYSTICK_XPAD_FF=y
|
|
|
|
CONFIG_JOYSTICK_XPAD_LEDS=y
|
Enable more options required as dependencies.
When verifying the android-base and android-recommended configurations,
it is useful to start from as minimal a kernel config as possible. The
most minimal config is "allnoconfig".
However, the "allnoconfig" experiment highlights a design problem with
these kernel config fragments. The 'depends' for the options we want to
turn on won't be turned on if the defconfig used as the first parameter
to scripts/kconfig/merge_config.sh forcibly turned them off, even if the
options were 'default y' or 'default m'.
So, rather than relying on somebody running the merge_config.sh having
the 'depends' set favorably for dependent options, explicitly define all
of the dependencies with =y. When testing with an "allnoconfig", which
is a worst-case scenario, all of the 'base' and 'recommended' options
are now turned on correctly.
android-base.cfg:
CONFIG_ADVISE_SYSCALLS=y bionic: madvise, posix_madvise, etc.
CONFIG_BLOCK=y CONFIG_EXT4_FS, CONFIG_F2FS_FS
CONFIG_EPOLL=y bionic: epoll_create, etc.
CONFIG_EVENTFD=y bionic: eventfd etc.
CONFIG_FUTEX=y bionic: __futex_wait, __futex_wake.
CONFIG_PROC_FS=y bionic: linker, pthread, etc.
CONFIG_PROFILING=y CONFIG_UID_SYS_STATS (missing only on 3.18)
CONFIG_SHMEM=y CONFIG_ASHMEM
CONFIG_SIGNALFD=y bionic: signalfd, signalfd64, etc.
CONFIG_SUSPEND=y CONFIG_PM_SLEEP via CONFIG_PM_WAKELOCKS.
CONFIG_SYSFS=y bionic: sysinfo, selinux
CONFIG_TIMERFD=y bionic: timerfd_create, etc.
CONFIG_USB_SUPPORT=y CONFIG_USB_GADGET
android-recommended.cfg:
CONFIG_CONFIGFS_FS=y CONFIG_SDCARD_FS
CONFIG_GPIOLIB=y CONFIG_ANDROID_TIMED_GPIO (only 3.18, 4.4)
CONFIG_HID_GENERIC=y "Support for generic devices on the HID bus"
CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL
CONFIG_KEYS=y CONFIG_ASYMMETRIC_KEY_TYPE
CONFIG_MISC_FILESYSTEMS=y fs/pstore/Kconfig
Bug: 79875143
Change-Id: Ifb76ee5883ff5541771e9a951c055b99fd09e029
Signed-off-by: Alistair Strachan <astrachan@google.com>
2018-05-16 22:53:40 +02:00
|
|
|
CONFIG_KALLSYMS=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_KALLSYMS_ALL=y
|
Enable more options required as dependencies.
When verifying the android-base and android-recommended configurations,
it is useful to start from as minimal a kernel config as possible. The
most minimal config is "allnoconfig".
However, the "allnoconfig" experiment highlights a design problem with
these kernel config fragments. The 'depends' for the options we want to
turn on won't be turned on if the defconfig used as the first parameter
to scripts/kconfig/merge_config.sh forcibly turned them off, even if the
options were 'default y' or 'default m'.
So, rather than relying on somebody running the merge_config.sh having
the 'depends' set favorably for dependent options, explicitly define all
of the dependencies with =y. When testing with an "allnoconfig", which
is a worst-case scenario, all of the 'base' and 'recommended' options
are now turned on correctly.
android-base.cfg:
CONFIG_ADVISE_SYSCALLS=y bionic: madvise, posix_madvise, etc.
CONFIG_BLOCK=y CONFIG_EXT4_FS, CONFIG_F2FS_FS
CONFIG_EPOLL=y bionic: epoll_create, etc.
CONFIG_EVENTFD=y bionic: eventfd etc.
CONFIG_FUTEX=y bionic: __futex_wait, __futex_wake.
CONFIG_PROC_FS=y bionic: linker, pthread, etc.
CONFIG_PROFILING=y CONFIG_UID_SYS_STATS (missing only on 3.18)
CONFIG_SHMEM=y CONFIG_ASHMEM
CONFIG_SIGNALFD=y bionic: signalfd, signalfd64, etc.
CONFIG_SUSPEND=y CONFIG_PM_SLEEP via CONFIG_PM_WAKELOCKS.
CONFIG_SYSFS=y bionic: sysinfo, selinux
CONFIG_TIMERFD=y bionic: timerfd_create, etc.
CONFIG_USB_SUPPORT=y CONFIG_USB_GADGET
android-recommended.cfg:
CONFIG_CONFIGFS_FS=y CONFIG_SDCARD_FS
CONFIG_GPIOLIB=y CONFIG_ANDROID_TIMED_GPIO (only 3.18, 4.4)
CONFIG_HID_GENERIC=y "Support for generic devices on the HID bus"
CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL
CONFIG_KEYS=y CONFIG_ASYMMETRIC_KEY_TYPE
CONFIG_MISC_FILESYSTEMS=y fs/pstore/Kconfig
Bug: 79875143
Change-Id: Ifb76ee5883ff5541771e9a951c055b99fd09e029
Signed-off-by: Alistair Strachan <astrachan@google.com>
2018-05-16 22:53:40 +02:00
|
|
|
CONFIG_KEYS=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_LOGIG940_FF=y
|
|
|
|
CONFIG_LOGIRUMBLEPAD2_FF=y
|
|
|
|
CONFIG_LOGITECH_FF=y
|
|
|
|
CONFIG_MEDIA_SUPPORT=y
|
Enable more options required as dependencies.
When verifying the android-base and android-recommended configurations,
it is useful to start from as minimal a kernel config as possible. The
most minimal config is "allnoconfig".
However, the "allnoconfig" experiment highlights a design problem with
these kernel config fragments. The 'depends' for the options we want to
turn on won't be turned on if the defconfig used as the first parameter
to scripts/kconfig/merge_config.sh forcibly turned them off, even if the
options were 'default y' or 'default m'.
So, rather than relying on somebody running the merge_config.sh having
the 'depends' set favorably for dependent options, explicitly define all
of the dependencies with =y. When testing with an "allnoconfig", which
is a worst-case scenario, all of the 'base' and 'recommended' options
are now turned on correctly.
android-base.cfg:
CONFIG_ADVISE_SYSCALLS=y bionic: madvise, posix_madvise, etc.
CONFIG_BLOCK=y CONFIG_EXT4_FS, CONFIG_F2FS_FS
CONFIG_EPOLL=y bionic: epoll_create, etc.
CONFIG_EVENTFD=y bionic: eventfd etc.
CONFIG_FUTEX=y bionic: __futex_wait, __futex_wake.
CONFIG_PROC_FS=y bionic: linker, pthread, etc.
CONFIG_PROFILING=y CONFIG_UID_SYS_STATS (missing only on 3.18)
CONFIG_SHMEM=y CONFIG_ASHMEM
CONFIG_SIGNALFD=y bionic: signalfd, signalfd64, etc.
CONFIG_SUSPEND=y CONFIG_PM_SLEEP via CONFIG_PM_WAKELOCKS.
CONFIG_SYSFS=y bionic: sysinfo, selinux
CONFIG_TIMERFD=y bionic: timerfd_create, etc.
CONFIG_USB_SUPPORT=y CONFIG_USB_GADGET
android-recommended.cfg:
CONFIG_CONFIGFS_FS=y CONFIG_SDCARD_FS
CONFIG_GPIOLIB=y CONFIG_ANDROID_TIMED_GPIO (only 3.18, 4.4)
CONFIG_HID_GENERIC=y "Support for generic devices on the HID bus"
CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL
CONFIG_KEYS=y CONFIG_ASYMMETRIC_KEY_TYPE
CONFIG_MISC_FILESYSTEMS=y fs/pstore/Kconfig
Bug: 79875143
Change-Id: Ifb76ee5883ff5541771e9a951c055b99fd09e029
Signed-off-by: Alistair Strachan <astrachan@google.com>
2018-05-16 22:53:40 +02:00
|
|
|
CONFIG_MISC_FILESYSTEMS=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_MSDOS_FS=y
|
2019-02-15 00:11:42 +01:00
|
|
|
CONFIG_NET_SCH_NETEM=y
|
2019-02-01 22:00:31 +01:00
|
|
|
CONFIG_OVERLAY_FS=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_PANIC_TIMEOUT=5
|
|
|
|
CONFIG_PANTHERLORD_FF=y
|
|
|
|
CONFIG_PERF_EVENTS=y
|
|
|
|
CONFIG_PM_DEBUG=y
|
|
|
|
CONFIG_POWER_SUPPLY=y
|
2019-03-26 02:08:00 +01:00
|
|
|
CONFIG_PSI=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_PSTORE=y
|
|
|
|
CONFIG_PSTORE_CONSOLE=y
|
|
|
|
CONFIG_PSTORE_RAM=y
|
2019-11-26 01:14:42 +01:00
|
|
|
CONFIG_REFCOUNT_FULL=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_SCHEDSTATS=y
|
2017-11-09 20:15:41 +01:00
|
|
|
CONFIG_SDCARD_FS=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_SMARTJOYPLUS_FF=y
|
2019-06-14 00:08:13 +02:00
|
|
|
CONFIG_SMP=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_SND=y
|
|
|
|
CONFIG_SOUND=y
|
2019-11-26 01:14:42 +01:00
|
|
|
CONFIG_STRICT_KERNEL_RWX=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_TABLET_USB_ACECAD=y
|
|
|
|
CONFIG_TABLET_USB_AIPTEK=y
|
|
|
|
CONFIG_TABLET_USB_GTCO=y
|
|
|
|
CONFIG_TABLET_USB_HANWANG=y
|
|
|
|
CONFIG_TABLET_USB_KBTAB=y
|
|
|
|
CONFIG_TASK_DELAY_ACCT=y
|
|
|
|
CONFIG_TMPFS=y
|
|
|
|
CONFIG_TMPFS_POSIX_ACL=y
|
2020-02-07 04:53:26 +01:00
|
|
|
CONFIG_UCLAMP_TASK=y
|
|
|
|
CONFIG_UCLAMP_TASK_GROUP=y
|
2019-11-26 01:14:42 +01:00
|
|
|
CONFIG_UPROBE_EVENTS=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
|
|
|
CONFIG_USB_EHCI_HCD=y
|
|
|
|
CONFIG_USB_HIDDEV=y
|
2019-09-05 11:47:37 +02:00
|
|
|
CONFIG_USB_RTL8152=y
|
2017-09-14 01:09:19 +02:00
|
|
|
CONFIG_USB_USBNET=y
|
|
|
|
CONFIG_VFAT_FS=y
|