From 5e49aebaf04d6f5372996ca4ea60c50f15d2018c Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens <hauke@hauke-m.de> Date: Thu, 25 Jul 2019 23:14:41 +0200 Subject: [PATCH] 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: Hauke Mehrtens <hauke@hauke-m.de> --- Documentation/how-to-build.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/how-to-build.rst b/Documentation/how-to-build.rst index 0de40c6a1..d6762dd66 100644 --- a/Documentation/how-to-build.rst +++ b/Documentation/how-to-build.rst @@ -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 -- GitLab