Amit Pundir | ef00624 | 2016-08-09 16:22:43 +0530 | [diff] [blame] | 1 | The android-*.config files in this directory are meant to be used as a base |
| 2 | for an Android kernel config. All devices should have the options in |
| 3 | android-base.config enabled. While not mandatory, the options in |
| 4 | android-recommended.config enable advanced Android features. |
| 5 | |
| 6 | Assuming you already have a minimalist defconfig for your device, a possible |
| 7 | way to enable these options would be: |
| 8 | |
| 9 | ARCH=<arch> scripts/kconfig/merge_config.sh <path_to>/<device>_defconfig kernel/configs/android-base.config kernel/configs/android-recommended.config |
| 10 | |
| 11 | This will generate a .config that can then be used to save a new defconfig or |
| 12 | compile a new kernel with Android features enabled. |
| 13 | |
| 14 | Because there is no tool to consistently generate these config fragments, |
| 15 | lets keep them alphabetically sorted instead of random. |