From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Tue, 11 Jan 2022 00:37:01 +0000 (+0100)
Subject: doc: Building on Alpine Linux
X-Git-Tag: v2025.01-rc5-pxa1908~1582^2~26
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=bba1cc9b8c857855f4db42dc9f92b0f98d78df25;p=u-boot.git

doc: Building on Alpine Linux

Describe the required packages for building U-Boot on Alpine Linux

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---

diff --git a/doc/build/gcc.rst b/doc/build/gcc.rst
index cdd7970032..0e0d87a022 100644
--- a/doc/build/gcc.rst
+++ b/doc/build/gcc.rst
@@ -51,6 +51,16 @@ Depending on the build targets further packages maybe needed.
     zypper install bc bison flex gcc libopenssl-devel libSDL2-devel make \
       ncurses-devel python3-devel python3-pytest swig
 
+Alpine Linux
+~~~~~~~~~~~~
+
+For building U-Boot on Alpine Linux at least the following packages are needed:
+
+.. code-block:: bash
+
+    apk add alpine-sdk bc bison dtc flex linux-headers ncurses-dev \
+      openssl-dev python3 py3-setuptools python3-dev sdl2
+
 Prerequisites
 -------------