aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-09-20 12:01:30 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-12-15 09:30:51 +0100
commitc2067021556a623a56b931cf3975f0fe1e195cb7 (patch)
tree265d623b8063087c0a1d12cd6fbe78c2e746ebf1
parentf40825e18e0a8560991072114b9b10b33fdad95b (diff)
downloadu-boot-c2067021556a623a56b931cf3975f0fe1e195cb7.zip
u-boot-c2067021556a623a56b931cf3975f0fe1e195cb7.tar.gz
u-boot-c2067021556a623a56b931cf3975f0fe1e195cb7.tar.bz2
doc/build/gcc.rst: required packages for SUSE
Describe the packages required to build U-Boot on SUSE. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r--doc/build/gcc.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/build/gcc.rst b/doc/build/gcc.rst
index 1ceba0b..c51b3e7 100644
--- a/doc/build/gcc.rst
+++ b/doc/build/gcc.rst
@@ -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
-------------