]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
doc/build/gcc.rst: required packages for SUSE
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 20 Sep 2020 10:01:30 +0000 (12:01 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 15 Dec 2020 08:30:51 +0000 (09:30 +0100)
Describe the packages required to build U-Boot on SUSE.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
doc/build/gcc.rst

index 1ceba0b699828e439c4ac3c753f65910ff1d612d..c51b3e73b837e5696b8b3cda1fb7037a0ef34523 100644 (file)
@@ -29,6 +29,26 @@ Depending on the build targets further packages maybe needed
       lzma-alone openssl python3 python3-coverage python3-pyelftools \
       python3-pytest python3-sphinxcontrib.apidoc python3-sphinx-rtd-theme swig
 
+SUSE based
+~~~~~~~~~~
+
+On suse based systems the cross compiler packages are named
+cross-<architecture>-gcc<version>.
+
+You could install GCC and the GCC 10 cross compiler for the ARMv8 architecture
+with
+
+.. code-block:: bash
+
+    sudo zypper install gcc cross-aarch64-gcc10
+
+Depending on the build targets further packages maybe needed.
+
+.. code-block:: bash
+
+    zypper install bc bison flex gcc libopenssl-devel libSDL2-devel make \
+      ncurses-devel python3-devel python3-pytest swig
+
 Prerequisites
 -------------