diff options
author | Oliver Kraitschy <oliver@okraits.de> | 2020-02-01 20:07:22 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-01 20:16:24 +0100 |
commit | aab59eaaab73a987114f49cfad0c9044caa79787 (patch) | |
tree | 8298a1cba314755956afd8d537b32b4bd34d32eb /Documentation/BuildInstructions.md | |
parent | 5d760bf1722b29d90886540db54b92ce23e4913b (diff) | |
download | serenity-aab59eaaab73a987114f49cfad0c9044caa79787.zip |
Documentation: Explain compilation of small changes and ports
Diffstat (limited to 'Documentation/BuildInstructions.md')
-rw-r--r-- | Documentation/BuildInstructions.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md index efdb3ab699..2e50800ee6 100644 --- a/Documentation/BuildInstructions.md +++ b/Documentation/BuildInstructions.md @@ -59,3 +59,8 @@ You can vastly reduce the build time of successive rebuilds of Serenity by insta Bare curious users may even consider sourcing suitable hardware to [install Serenity on a physical PC.](https://github.com/SerenityOS/serenity/blob/master/INSTALL.md) Later on, when you `git pull` to get the latest changes, there's no need to rebuild the toolchain. You can simply rerun **./makeall.sh** in the `Kernel/` directory and you'll be good to **./run** again. + +You can even re-compile only parts of the system. Imagine you changed something in the **WindowServer**. Then run `make -C ../Servers/WindowServer` (from the `Kernel/` directory) followed by **./sync.sh** to update the disk image. Then you can start the system with **./run** again. + +#### Ports +To add a package from the ports collection to Serenity, for example curl, go into `Ports/curl/` and run **./package.sh**. The sourcecode for the package will be downloaded and the package will be built. After that, run **./sync.sh** from the `Kernel/` directory to update the disk image. The next time you start Serenity with **./run**, `curl` will be available. |