When building the Linux kernel from source for an RPi3, the official documentation recommends setting the KERNEL environment var to kernel7 (as opposed to kernel or kernel7l).

What does this environment variable do and what are the meanings of these three options?

  • kernel for ARM6 (RPi1B, RPi1A, RPiB+, RPiZ), kernel7 for ARM7 (RPi2B, RPi3B, RPi3B+, RPi3A (32-bit)), kernel7l for RPi4B (32-bit), kernel8 for ARM8 (RPi3B, RPi3B+, RPi3A & RPi4B (64-bit)). The variable is used to choose what kernel you're building with the make command. – Dougie Jan 25 at 8:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.