commit | 59377bfce0c1ecf9e54b87049e09c7925feea2ca | [log] [tgz] |
---|---|---|
author | Alistair Strachan <astrachan@google.com> | Tue May 15 12:05:05 2018 -0700 |
committer | Alistair Strachan <astrachan@google.com> | Thu May 17 17:26:49 2018 -0700 |
tree | 15a7eebfa3eb5ce515d1f0bd0dfc78c5969ed87b | |
parent | 845000241f4057b6c1b436e0a8673cc17a92d855 [diff] |
android-4.14: Restore missing NETFILTER_XT_MATCH options. (p/ directory version) When the android-base.cfg was regenerated for 4.14, some options were incorrectly dropped, when they had in fact just been hidden behind the new CONFIG_NF_SOCKET_IPV{4,6} options. Test: none Bug: 79492212 Change-Id: I20b2dc00ab0d4fbcb3ef306c05547536a0d1ed30
The files in these directories are meant to be used as a base for an Android kernel config. All devices must have the options in android-base.cfg
configured as specified. If an android-base-ARCH.cfg
file exists for the architecture of your device, the options in that file must be configured as specified also.
While not mandatory, the options in android-recommended.cfg
enable advanced Android features.
Assuming you already have a minimalist defconfig for your device, a possible way to enable these options would be to use the merge_config.sh
script in the kernel tree. From the root of the kernel tree:
ARCH=<arch> scripts/kconfig/merge_config.sh <...>/<device>_defconfig <...>/android-base.cfg <...>/android-base-<arch>.cfg <...>/android-recommended.cfg
This will generate a .config
that can then be used to save a new defconfig or compile a new kernel with Android features enabled.
Because there is no tool to consistently generate these config fragments, lets keep them alphabetically sorted instead of random.