Simple add arm64 support

This commit is contained in:
mason 2023-05-30 05:33:16 +00:00
parent c979243629
commit 0d3e53e8fa
No known key found for this signature in database
GPG key ID: 84D9278A11FA112B

View file

@ -10,6 +10,14 @@ PKG_DEPENDS_TARGET="toolchain qt5"
PKG_LONGDESC="Simple64, a N64 Emulator"
PKG_TOOLCHAIN="manual"
pre_configure_target() {
case ${TARGET_ARCH} in
aarch64|arm)
find . -type f -name CMakeLists.txt -exec sed -i 's/x86-64-v3/armv8-a/g' {} \;
;;
esac
}
make_target() {
cd ${PKG_BUILD}
./build.sh