From 1f229b45a9c14a0eac68fb8df25e8ae390540707 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 11 Jul 2021 22:32:43 +0200 Subject: [PATCH] Documentation: Show users how to build specific ninja targets directly --- Documentation/AdvancedBuildInstructions.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/AdvancedBuildInstructions.md b/Documentation/AdvancedBuildInstructions.md index 6aeab1d4d5..6d336f8963 100644 --- a/Documentation/AdvancedBuildInstructions.md +++ b/Documentation/AdvancedBuildInstructions.md @@ -19,6 +19,14 @@ EOF This will configure your keymap to German (`de`) instead of US English. See [`Base/res/keymaps/`](../Base/res/keymaps/) for a full list. Note that the `keymap` program itself will also modify the `/etc/Keyboard.ini` config file, but this way the change will persist across image rebuilds. +## Ninja build targets + +The `Meta/serenity.sh` script provides an abstraction over the build targets which are made available by CMake. The +following build targets cannot be accessed through the script and have to be used directly by changing the current +directory to `Build/i686` and then running `ninja `: + +- `ninja grub-image`: Builds a disk image (`grub_disk_image`) with GRUB + ## CMake build options There are some optional features that can be enabled during compilation that are intended to help with specific types of development work or introduce experimental features. Currently, the following build options are available: