Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 846 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 846 Bytes

macOS Linux Kernel Development Kit

Build the (ARM/ARM64/i386) Linux Kernel on any macOS host

Details

The macOS Linux Kernel Development Kit includes some bits from glibc to successfully build host tools, which allows a full kernel compile on macOS with little effort.

NOTE: This is still early, and while at the time of this writing, mainline for arm64 and i386 (not amd64) successfully builds on Apple Silicon and Intel, this can change as the kernel continues development. Updates are welcome if things break.

Usage

  1. Install Homebrew for package management.
  2. Install mac-linux-kdk: brew install mysticlgbt/made/mac-linux-kdk
  3. Clone the Linux kernel source to a case-sensitive filesystem. (Use Disk Utility to add a case-sensitive volume)
  4. Use lkmake instead of make to build the Linux kernel.