[PATCH] config: Add android config fragments

Rob Herring robh at kernel.org
Wed Jun 22 20:20:48 PDT 2016


On Wed, Jun 22, 2016 at 2:53 AM, Amit Pundir <amit.pundir at linaro.org> wrote:
> On 8 June 2016 at 22:09, Rob Herring <robh at kernel.org> wrote:
>> Copy the config fragments from the AOSP common kernel tree. It is
>> becoming possible to run mainline kernels with Android, but the kernel
>> defconfigs don't work as-is and debugging missing config options is a
>> pain. Adding the config fragments into the kernel tree, makes
>> configuring a mainline kernel as simple as:
>>
>> make ARCH=arm multi_v7_defconfig android-base.config android-recommended.config
>>
>> Cc: Amit Pundir <amit.pundir at linaro.org>
>> Cc: John Stultz <john.stultz at linaro.org>
>> Cc: Dmitry Torokhov <dmitry.torokhov at gmail.com>
>> Cc: Rom Lemarchand <romlem at android.com>
>> Signed-off-by: Rob Herring <robh at kernel.org>
>> ---
>>  kernel/configs/android-base.config        | 161 ++++++++++++++++++++++++++++++
>>  kernel/configs/android-recommended.config | 121 ++++++++++++++++++++++

[...]

>> +CONFIG_STAGING=y
>> +CONFIG_SWITCH=y
>
> Switch Class support is dropped from kernel/common/android-4.4 sometime back.

Okay. I'm also removing these options in v2 which don't exist in
upstream. Any comments on them?

IP6_NF_TARGET_REJECT_SKERR
IP_NF_TARGET_REJECT_SKERR
NETFILTER_XT_MATCH_QTAGUID
NETFILTER_XT_MATCH_QUOTA2
NETFILTER_XT_MATCH_QUOTA2_LOG
PPPOLAC
PPPOPNS
RESOURCE_COUNTERS
SECURITY_PERF_EVENTS_RESTRICT
USB_CONFIGFS_F_MTP
USB_CONFIGFS_F_PTP
USB_CONFIGFS_F_ACC
USB_CONFIGFS_F_AUDIO_SRC
USB_CONFIGFS_UEVENT
USB_OTG_WAKELOCK
ANDROID_TIMED_GPIO
ARM_KERNMEM_PERMS
INPUT_KEYCHORD
INPUT_KEYRESET
TABLET_USB_WACOM

Rob



More information about the linux-arm-kernel mailing list