Skip to content
Snippets Groups Projects
Commit 5e49aeba authored by Hauke Mehrtens's avatar Hauke Mehrtens
Browse files

docs: how-to-build.rst: Add Debian


The same commands can be used on Ubuntu and Debian stable. Debian stable
ships meson 0.49.2 which should be sufficient.

Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
parent 4d8af366
No related branches found
No related tags found
No related merge requests found
......@@ -9,16 +9,17 @@ Dependencies
* **gcc**, **binutils** & **newlib** for ``arm-none-eabi``: The packages have
slightly different names on different distros.
- Ubuntu: ``apt install gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi``
- Ubuntu / Debian: ``apt install gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi``
- Arch: ``pacman -S arm-none-eabi-gcc arm-none-eabi-binutils arm-none-eabi-newlib``
- Alternative: Download `ARM's GNU toolchain`_. **TODO**
* **python3**: For meson and various scripts needed for building.
* **ninja**: Needed for meson.
- Ubuntu: ``apt install ninja-build``
- Ubuntu / Debian: ``apt install ninja-build``
- Arch: ``pacman -S ninja``
* **meson** (>0.43.0): Unfortunately most distros only have very old versions
of meson in their repositories. Instead, you'll probably save yourself a lot
of headaches by installing meson from ``pip3 install --user meson``.
- Ubuntu / Debian: ``apt install meson``
* **python3-crc16**: Install with ``pip3 install --user crc16``.
.. _ARM's GNU toolchain: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment