summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-07-11 22:32:43 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-12 12:28:01 +0200
commit1f229b45a9c14a0eac68fb8df25e8ae390540707 (patch)
tree3d1a68a35705a23ddf10fc7e003354eeda065124 /Documentation
parent7f6e148e17c3febfa6ad530e70c42273970624fc (diff)
downloadserenity-1f229b45a9c14a0eac68fb8df25e8ae390540707.zip
Documentation: Show users how to build specific ninja targets directly
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/AdvancedBuildInstructions.md8
1 files changed, 8 insertions, 0 deletions
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 <target>`:
+
+- `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: