From 3317fe0db568e08ffb19254c43568a87c446e106 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Sat, 9 Mar 2019 22:22:57 +0100 Subject: [PATCH] Update Readme.md --- Readme.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Readme.md b/Readme.md index bf2f16d..950387d 100644 --- a/Readme.md +++ b/Readme.md @@ -13,3 +13,26 @@ For structure of the sources, see [ProjectTree](ProjectTree) Note that every file within OS/K is written using spaces for tabulation, with each tabulation being 4 spaces long. + +#### Compile from sources + +To compile this project from sources, you must first install the dependencies + +``` +apt update && apt upgrade +apt install grub-pc dosfstools make nasm +``` + +You also need to have the [OS/K cross-compiler](https://www.os-k.eu/build-tools/cross-cc.tar.xz) in `/opt/cross-cc`. + +To compile for the first time, you must compile the whole project, in order to build the loop disk image : + +``` +make all +``` + +After that, you can use this to compile the kernel only : + +``` +make kaleid +```