Add dependencies script to building docs

Signed-off-by: RaspberryPiNews <raspberrypinews@noreply.thebrokenrail.org>
This commit is contained in:
RaspberryPiNews 2021-09-22 02:30:20 +00:00
parent 734bded289
commit e13d144e33
1 changed files with 13 additions and 0 deletions

View File

@ -41,6 +41,9 @@
Use this when the host architecture is not ARM. Use this when the host architecture is not ARM.
```sh ```sh
# Install dependencies
ARM_PACKAGES_SUPPORTED=1 ./scripts/install-dependencies.sh
# Create Build Directory # Create Build Directory
mkdir build && cd build mkdir build && cd build
@ -63,6 +66,9 @@ This will most likely not compile by itself. You will want to enable either serv
Use this when the host architecture is ARM. Use this when the host architecture is ARM.
```sh ```sh
# Install dependencies
./scripts/install-dependencies.sh
# Create Build Directory # Create Build Directory
mkdir build && cd build mkdir build && cd build
@ -71,3 +77,10 @@ cmake ..
make -j$(nproc) && sudo make install make -j$(nproc) && sudo make install
cd ../ cd ../
``` ```
## Docker Build
Alternatively, if you have Docker installed you can build Reborn in a Docker container.
```sh
./scripts/ci/simulate.sh
```