commit f441bcff65951b9a145793760afbeea55de0a92a parent e866fcb95e9eecf734c27c6eb0d6d1083f2174d7 Author: Dimitris Papastamos <dimitris.papastamos@arm.com> Date: Thu, 22 Nov 2018 15:14:50 +0000 [arm32] Explain how to build arm32-linux with an example We might be able to do this automatically in the future. Change-Id: Ib57f6b121b1eef2de7e40465907cb51ea9af67d6 Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com> Diffstat:
| M | config/arm32-linux.mk | | | 8 | ++++++-- |
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/config/arm32-linux.mk b/config/arm32-linux.mk @@ -1,5 +1,9 @@ -# The arm32 gcc port depends on libgcc.a. To build pass the -# path to the directory containing the library via LDFLAGS. +# To build the arm32 port, you need to update the library path +# so the compiler can find libgcc.a: +# +# CROSS_COMPILE=armv8l-linux-gnueabihf- \ +# LDFLAGS="-L $(dirname $(armv8l-linux-gnueabihf-gcc -print-file-name=libgcc.a))" \ +# make CONF=arm32-linux ARCH = arm32 SYS=linux