Building and cross-compiling kernel source on Mac OS
From: Pintu Agarwal
Date: Tue Mar 12 2019 - 13:32:57 EST
Hi,
I have a Mac Book Pro with macOS High Sierra 10.13.x installed (with
Mac OS Extended (Journaled, Encrypted)).
I also have the Xcode installed so I can compile a C program using gcc.
Now, I wanted to build linux kernel code (cross compile for arm or
risc-v) on Mac OS.
I know this is possible, but I am not familiar with the steps.
If somebody have the step by step guide, please share.
If this works, then I don't need to use Virtual Box inside MAC to
build the kernel code.
Thanks,
Pintu