Re: [PATCH] config: Add android config fragments

From: Rob Herring
Date: Wed Jun 22 2016 - 23:21:28 EST


On Wed, Jun 22, 2016 at 2:53 AM, Amit Pundir <amit.pundir@xxxxxxxxxx> wrote:
> On 8 June 2016 at 22:09, Rob Herring <robh@xxxxxxxxxx> 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@xxxxxxxxxx>
>> Cc: John Stultz <john.stultz@xxxxxxxxxx>
>> Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
>> Cc: Rom Lemarchand <romlem@xxxxxxxxxxx>
>> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
>> ---
>> 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