Automatic Compilation
Huawei provides the kbox_install_kernel.sh script for automatic kernel compilation and installation. This script includes all operations required for manually compiling and installing the kernel. You can run this script to quickly compile and install the kernel. Alternatively, you can manually compile and install the kernel based on the "Manual Compilation" part.
The kbox_install_kernel.sh script can be used to compile the kernels of openEuler 22.03 LTS SP1 and SP3 (corresponding to kernels 5.10.0-136.12.0 and 5.10.0-182.0.0 respectively). To obtain the script, obtain the Kbox-AOSP11.zip package and decompress it based on Software Environment. The script is stored in the Kbox-AOSP11/deploy_scripts/openEuler_deploy directory. For details about how to use the script, see the comments at the beginning of the script.