Add docker container with toolchain and libraries to build aarch64 binary

This commit is contained in:
Michael Smith
2026-02-12 17:01:12 +01:00
parent e3a2bca794
commit 8f8cbc97c7
19 changed files with 3337 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/sh
mkdir -p /opt/rg35xx-toolchain
if [ -d /opt/rg35xx-toolchain/usr ]; then
rm -fr /opt/rg35xx-toolchain/usr
fi
cp -rf ~/buildroot/output/host/usr/ /opt/rg35xx-toolchain/
# this version of buildroot doesn't have relocate-sdk.sh yet so we bring our own
cp ~/relocate-sdk.sh /opt/rg35xx-toolchain/
cp ~/sdk-location /opt/rg35xx-toolchain/
cp ~/hwcap.h /opt/rg35xx-toolchain/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/asm/
/opt/rg35xx-toolchain/relocate-sdk.sh