notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psxbios: Return value is always 1 for CloseTh and ChangeTh.
[pcsx_rearmed.git]
/
plugins
/
gpu_neon
/
Makefile
diff --git
a/plugins/gpu_neon/Makefile
b/plugins/gpu_neon/Makefile
index
974ac1a
..
08bf0ee
100644
(file)
--- a/
plugins/gpu_neon/Makefile
+++ b/
plugins/gpu_neon/Makefile
@@
-1,30
+1,16
@@
-C
C = $(CROSS_COMPILE)gcc
+C
FLAGS += -ggdb -Wall -O2 -DNDEBUG
-ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}')
+include ../../config.mak
-CFLAGS += -ggdb -Wall -fPIC -O2
+SRC += psx_gpu_if.c
-TARGET = gpu_neon.so
-LDFLAGS += -shared -Wl,-soname,$(TARGET)
-SRC += gpu.c
-ifeq "$(ARCH)" "arm"
-CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
-SRC += vout_fb.c ../../frontend/arm_utils.s
+CFLAGS += -DTEXTURE_CACHE_4BPP -DTEXTURE_CACHE_8BPP
+ifeq "$(HAVE_NEON)" "1"
+SRC += psx_gpu/psx_gpu_arm_neon.S
+CFLAGS += -DNEON_BUILD
else
else
-CFLAGS += `sdl-config --cflags` -m32
-LDFLAGS += `sdl-config --libs`
-SRC += vout_sdl.c
+CFLAGS += -fno-strict-aliasing
endif
endif
-PEOPS=1
-ifndef PEOPS
-else
-SRC += peops.c
-endif
-
-all: $(TARGET)
-
-$(TARGET): $(SRC)
- $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
-clean:
- $(RM) $(TARGET)
+BIN_GPULIB = gpu_neon.so
+include ../gpulib/gpulib.mak