brew formulae to build linux ON MAC
(Do not execute these instructions, the project isn't over)
(If you installed nsabovic/homebrew-public version, uninstall it because it will conflict with our fixes (brew uninstall elf-header && brew untap nsabovic/homebrew-public
))
- Install brew at brew.sh
- Execute in Terminal
brew install omerien/build-linux-mac/build-linux
- Write this in your .bash_profile (you can remove it after building the kernel) :
PATH="/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/gnu-tar/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/make/libexec/gnubin:$PATH"
andPKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/ncurses/lib/pkgconfig"
- Oh and write also this in your .bash_profile (if not already written) :
CPATH=/opt/homebrew/include LIBRARY_PATH=/opt/homebrew/lib
- Execute
build-linux setup
(if you already ran it in a previous build, do not run it.) - Execute
build-linux menu-config
(it should prompt you the make menuconfig menu) - Execute
build-linux build-it
(it should give you the builded linux)
- Me, omerien / omerien2
- Future modified Linux : edwardhalferty.com
- elf.h fix : https://github.com/nsabovic/homebrew-public