From 0d3e53e8fae07423ed4093e15e7928115264b667 Mon Sep 17 00:00:00 2001 From: mason Date: Tue, 30 May 2023 05:33:16 +0000 Subject: [PATCH] Simple add arm64 support --- packages/emulators/standalone/simple64-sa/package.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/emulators/standalone/simple64-sa/package.mk b/packages/emulators/standalone/simple64-sa/package.mk index 15d00909c..fb196d23f 100644 --- a/packages/emulators/standalone/simple64-sa/package.mk +++ b/packages/emulators/standalone/simple64-sa/package.mk @@ -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