Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android AOSP make kernel menuconfig

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

like image 583
Robber Pen Avatar asked Feb 04 '26 21:02

Robber Pen


1 Answers

There's a config.sh script for menuconfig in android kernel source.

Here's the step:

  1. download android kernel source code

    repo init -u https://android.googlesource.com/kernel/manifest -b BRANCH

    repo sync

  2. run menuconfig

    BUILD_CONFIG=common/build.config.gki.aarch64 build/config.sh menuconfig

  3. modify menuconfigs and save .config

  4. build kernel

    BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh

Reference: https://source.android.com/docs/setup/build/building-kernels

like image 56
Allen Shaw Avatar answered Feb 09 '26 15:02

Allen Shaw



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!