Before all, Download the linux kernel source.
Make sure the path to kernel souce in src/lib/Config.h
is correct.
define SOURCE_CODE_PATH "/home/path/to/linux-source"
sudo apt install cmake
sudo apt install g++
- VMWare虚拟机
- Ubuntu 22.02 LTS
- Linux Kenel 5.1
- sudo apt install flex
- sudo apt install bison
$ ./genCFG.sh