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
gte: pass a pointer to registers as argument
[pcsx_rearmed.git]
/
plugins
/
gpu_unai
/
Makefile
diff --git
a/plugins/gpu_unai/Makefile
b/plugins/gpu_unai/Makefile
index
026d950
..
531c9fb
100644
(file)
--- a/
plugins/gpu_unai/Makefile
+++ b/
plugins/gpu_unai/Makefile
@@
-7,7
+7,16
@@
endif
ifdef MAEMO
CFLAGS += -DMAEMO
endif
ifdef MAEMO
CFLAGS += -DMAEMO
endif
+ARM_CORTEXA8 ?= 1
+ifeq "$(ARM_CORTEXA8)" "1"
CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
+SRC += ../../frontend/cspace_neon.s
+else
+CFLAGS += -mcpu=arm926ej-s -mtune=arm926ej-s
+SRC += ../../frontend/cspace.c
+endif
+
+SRC += gpu.cpp
TARGET = gpuPCSX4ALL.so
LDFLAGS += -shared -Wl,-soname,$(TARGET)
TARGET = gpuPCSX4ALL.so
LDFLAGS += -shared -Wl,-soname,$(TARGET)
@@
-16,7
+25,7
@@
LDFLAGS += -shared -Wl,-soname,$(TARGET)
all: $(TARGET)
all: $(TARGET)
-$(TARGET):
gpu.cpp ../../frontend/arm_utils.s
+$(TARGET):
$(SRC)
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
# $(TARGET): *.h
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
# $(TARGET): *.h