mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
This ports6a61b529b4to 4.9-common, where the the cfg option was missed. Cc: Jin Qian <jinqian@google.com> Bug: 34198239 (cherry picked from commit6a61b529b4) [the config option was missed in 4.9, this syncs it back up - gregkh] Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
The android-*.config files in this directory are meant to be used as a base
for an Android kernel config. All devices should have the options in
android-base.config enabled. While not mandatory, the options in
android-recommended.config enable advanced Android features.
Assuming you already have a minimalist defconfig for your device, a possible
way to enable these options would be:
ARCH=<arch> scripts/kconfig/merge_config.sh <path_to>/<device>_defconfig kernel/configs/android-base.config kernel/configs/android-recommended.config
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.