path: root/android/configs/README
diff options
authorRom Lemarchand <romlem@google.com>2013-02-06 15:49:47 -0800
committerArve Hjønnevåg <arve@android.com>2013-04-29 14:51:44 -0700
commit4f2b253106417b1a6370469d713dd3db6cd11ee5 (patch)
tree3bc551758b0e1ef516bc638cc23181ebebc1f0cf /android/configs/README
parent39b2af70d2f8db03bfa73a6a1239b4d7bf2ebad7 (diff)
android: configs: Initial commit of Android config fragments
- Add 2 files that contain the minimal and recommended kernel config options respectively. - Add a README to explain their purpose and how to use them to generate a device config compatible with Android. Change-Id: I3a4883f3b04d2820e90ceb3c4d02390d6458d6ce Signed-off-by: Rom Lemarchand <romlem@google.com>
Diffstat (limited to 'android/configs/README')
1 files changed, 13 insertions, 0 deletions
diff --git a/android/configs/README b/android/configs/README
new file mode 100644
index 00000000000..391dffa6f85
--- /dev/null
+++ b/android/configs/README
@@ -0,0 +1,13 @@
+The 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.cfg enabled.
+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:
+ ARCH=<arch> scripts/kconfig/merge_config.sh <path_to>/<device>_defconfig android/configs/android-base.cfg android/configs/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.