BuildSystem: Allow running custom version of cmake

You can now set the environment variable CMAKE_COMMAND to use custom
cmake version.
This commit is contained in:
2023-12-27 12:55:32 +02:00
parent 87272f0cd7
commit af80bad87a
2 changed files with 7 additions and 1 deletions

View File

@@ -14,6 +14,8 @@ Each major component and library has its own subdirectory (kernel, userspace, li
There does not exist a complete list of needed packages for building. From the top of my head I can say that *cmake*, *ninja*, *make*, *grub*, *rsync* and emulator (*qemu* or *bochs*) are needed.
You need cmake version of atleast 2.26. If you are using cmake that is not found from PATH, you can set the CMAKE\_COMMAND environment variable to point to the correct cmake binary.
To build the toolchain for this os. You can run the following command.
> ***NOTE:*** The following step has to be done only once. This might take a long time since we are compiling binutils and gcc.
```sh