Configure and compile using defconfig
Download the code
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Set up the compilation environment
sudo apt install build-essential libncurses-dev bison flex libssl-dev libelf-dev zstd
Compile the code
make defconfig
make -j$(nproc)
The compilation is completed successfully. Proceed with RUBIK Pi kernel compilation.
To be continued…
Reference:
Submitting patches: the essential guide to getting your code into the kernel…
2025-06-30T16:00:00Z
Original post: [移植][linux] 主线 linux 移植记录 - 技术分享 - RUBIK Pi by Hongyang Zhao