Skip to content

Commit c20bced

Browse files
committed
[Linux] Add armhf build.
1 parent 09b9dcf commit c20bced

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build-linux/build.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,19 @@ if [ "${CLASSICAL}" == "1" ]; then
4747
mkdir -p /root/out/x86_32/templates
4848
cp -rvp bin/* /root/out/x86_32/templates
4949
rm -rf bin
50+
51+
export PATH="${GODOT_SDK_LINUX_ARMHF}/bin:${BASE_PATH}"
52+
53+
$SCONS platform=linuxbsd arch=arm32 $OPTIONS target=editor
54+
mkdir -p /root/out/arm32/tools
55+
cp -rvp bin/* /root/out/arm32/tools
56+
rm -rf bin
57+
58+
$SCONS platform=linuxbsd arch=arm32 $OPTIONS target=template_debug
59+
$SCONS platform=linuxbsd arch=arm32 $OPTIONS target=template_release
60+
mkdir -p /root/out/arm32/templates
61+
cp -rvp bin/* /root/out/arm32/templates
62+
rm -rf bin
5063
fi
5164

5265
# Mono

0 commit comments

Comments
 (0)