aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortwinaphex2020-02-08 22:19:13 +0100
committertwinaphex2020-02-08 22:19:13 +0100
commit1fce6ce87dcd15107e3aa26b767395dbb6eafe6c (patch)
tree3cae36fe8869ad3dec10efb5c6d5425a271295b0 /Makefile
parent721c85083fa1f4e3636007e1769f21c9a82a35d1 (diff)
downloadpcsx_rearmed-1fce6ce87dcd15107e3aa26b767395dbb6eafe6c.tar.gz
pcsx_rearmed-1fce6ce87dcd15107e3aa26b767395dbb6eafe6c.tar.bz2
pcsx_rearmed-1fce6ce87dcd15107e3aa26b767395dbb6eafe6c.zip
Start getting NEON GPU to work on non-Arm
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d7f734f..5218efd 100644
--- a/Makefile
+++ b/Makefile
@@ -162,8 +162,13 @@ endif
OBJS += plugins/gpulib/gpu.o plugins/gpulib/vout_pl.o
ifeq "$(BUILTIN_GPU)" "neon"
CFLAGS += -DGPU_NEON
-OBJS += plugins/gpu_neon/psx_gpu_if.o plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o
+OBJS += plugins/gpu_neon/psx_gpu_if.o
+ifeq "$(HAVE_NEON)" "1"
+OBJS += plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o
plugins/gpu_neon/psx_gpu_if.o: CFLAGS += -DNEON_BUILD -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
+else
+plugins/gpu_neon/psx_gpu_if.o: CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
+endif
plugins/gpu_neon/psx_gpu_if.o: plugins/gpu_neon/psx_gpu/*.c
endif
ifeq "$(BUILTIN_GPU)" "peops"