[PATCH] Add cross compile dependecy info for ARMv7
Peter Polgar
ppeter.bme at gmail.com
Thu Nov 28 17:48:06 CET 2024
This commit adds info about the needed package to cross compile
U-Boot to ARMv7 (32 bit) architecture on Debian based distros.
---
doc/build/gcc.rst | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/doc/build/gcc.rst b/doc/build/gcc.rst
index d8fcfdc4bf..c552e7b590 100644
--- a/doc/build/gcc.rst
+++ b/doc/build/gcc.rst
@@ -19,6 +19,12 @@ You could install GCC and the GCC cross compiler
for the ARMv8 architecture with
sudo apt-get install gcc gcc-aarch64-linux-gnu
+For the ARMv7 architecture (32 bit) use the below command instead
+
+.. code-block:: bash
+
+ sudo apt-get install gcc crossbuild-essential-armhf
+
Depending on the build targets further packages maybe needed
.. code-block:: bash
@@ -118,6 +124,12 @@ Assuming cross compiling on Debian for ARMv8 this would be
CROSS_COMPILE=aarch64-linux-gnu- make
+Also on Debian but for ARMv7 it would be
+
+.. code-block:: bash
+
+ CROSS_COMPILE=arm-linux-gnueabihf- make
+
Out-of-tree building
~~~~~~~~~~~~~~~~~~~~
--
2.43.0
More information about the U-Boot
mailing list