summaryrefslogtreecommitdiff
path: root/android/configs/README
diff options
context:
space:
mode:
authorRom Lemarchand <romlem@google.com>2013-02-06 15:49:47 -0800
committerArve Hjønnevåg <arve@android.com>2013-07-01 14:16:25 -0700
commitd5c5b1a7f9274c06d238d07f8ffbbe83f0317267 (patch)
treefcd33cda25fc5051eacd90cbd2fc5d555cd5b729 /android/configs/README
parentd57bc275caf1432437172fe661f590446792c992 (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')
-rw-r--r--android/configs/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/android/configs/README b/android/configs/README
new file mode 100644
index 000000000000..391dffa6f85f
--- /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.
+