From 312e8c624d3d399ddc3025024701a112071cef5c Mon Sep 17 00:00:00 2001 From: Willems Davy Date: Thu, 11 Jul 2024 19:05:00 +0200 Subject: [PATCH] add aarch64 build file --- build_platforms/rg35xx_plus_batocera_aarch64.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 build_platforms/rg35xx_plus_batocera_aarch64.mk diff --git a/build_platforms/rg35xx_plus_batocera_aarch64.mk b/build_platforms/rg35xx_plus_batocera_aarch64.mk new file mode 100644 index 0000000..8745f98 --- /dev/null +++ b/build_platforms/rg35xx_plus_batocera_aarch64.mk @@ -0,0 +1,10 @@ + +TOOLCHAIN = /opt/aarch64-buildroot-linux-gnu_sdk-buildroot/ +TOOLCHAIN_USR = /opt/aarch64-buildroot-linux-gnu_sdk-buildroot/aarch64-buildroot-linux-gnu/sysroot/usr + +CC = $(TOOLCHAIN)/bin/aarch64-linux-gcc +CPP = $(TOOLCHAIN)/bin/aarch64-linux-g++ +SDL2CONFIG = $(TOOLCHAIN_USR)/bin/sdl2-config +LDUSEX11 = 0 +CFLAGS_EXTRA = -DRG35XX_PLUS_BATOCERA +LDFLAGS = -lSDL2_image -lSDL2_ttf -lSDL2_mixer -lSDL2_gfx -lpthread