Reputation: 1093
What is kernel 'make menuconfig' in android AOSP
I tried make kernel
from AOSP. it could build kernel only.
But how about if I want to customize kernel config from menuconfig
Regards Peter
Upvotes: 4
Views: 3963
Reputation: 1492
There's a config.sh script for menuconfig in android kernel source.
Here's the step:
download android kernel source code
repo init -u https://android.googlesource.com/kernel/manifest -b BRANCH
repo sync
run menuconfig
BUILD_CONFIG=common/build.config.gki.aarch64 build/config.sh menuconfig
modify menuconfigs and save .config
build kernel
BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh
Reference: https://source.android.com/docs/setup/build/building-kernels
Upvotes: 2
Reputation: 174
Building Android kernels for various devices is documented on source.android.com. It covers the Android Common Kernels as well as some widely used devices that can be built directly from AOSP. While there are no specific instructions for make menuconfig
, it contains a section on how to customize the kernel build with specific kernel configuration options.
Such kernel options can of course be discovered through make menuconfig
as usual.
Upvotes: -1