tag | f2298a6870043f9f05f901ccb88f844e89b4d016 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Jun 12 10:06:06 2018 -0700 |
object | 240151ca2b4988f4454546cdce403e1c35168a52 |
Android P Preview 3 (PPP3.180510.008)
tag | 240151ca2b4988f4454546cdce403e1c35168a52 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue May 08 10:24:51 2018 -0700 |
object | ea9fa9fc7ca1d8e7f6545f4199a2b4bfa749c7ae |
Android p preview 2
commit | ea9fa9fc7ca1d8e7f6545f4199a2b4bfa749c7ae | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Tue May 01 22:42:55 2018 -0700 |
committer | Jeff Vander Stoep <jeffv@google.com> | Wed May 02 12:26:35 2018 -0700 |
tree | b5405bc64d6ac2c5443bfb75b1bdae6b5f0c193c | |
parent | 4bad2263abc9683b17ae1c366183cd877fd3842e [diff] |
Add security options to base config Bug: 79088532 Signed-off-by: Jeff Vander Stoep <jeffv@google.com> Change-Id: I446758f7213e39dddfae0367dc75454ca839ebd1
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.