sudo apt install build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo libzstd-dev libisl-dev autoconf m4 automake gettext gperf dejagnu guile-3.0 guile-3.0-dev expect tcl autogen tex-common sphinx-common git ssh diffutils patch
sudo apt-get install make gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 mingw-w64
sudo apt-get install xorriso mtools genisoimage ovmf nasm doxygen
make tools
Makefile.conf
file.DEBUG
• If it's set to 1
, the kernel will be compiled in debug mode.TESTING
• Enable unit testing.OSNAME
• The name of the kernel. This can be anything.OSARCH
• The architecture of the kernel. Supported values are: amd64
i386
aarch64
.KERNEL_VERSION
• The version of the kernel. This can be anything.BOOTLOADER
• The bootloader to be used. If set to other
, the bootloader will be Limine for 64-bit, or
with GRUB if 32-bit. lynx
it's still under development.COMPILER_PATH
• The path of the cross compiler. If you want to use your own cross compiler, change it to the path of the compiler.LIMINE_FOLDER
• The path of the Limine bootloader.QEMU_PATH
• Qemu path. If you want to use the one you have installed in your system, change it to /usr/bin/qemu-system- (do not include x86_64 or i386, it will be added automatically)
make build
• Builds the entire OS and creates an ISO image.make run
• Same as make build
but starts the QEMU too.make clean
• Clean all files (object files, ISO, etc...).make doxygen
• Generate the documentation in directory doxygen-doc
.