X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_unai%2FMakefile;h=531c9fb6b504cb4c020d085699e0ddec8d6d506b;hp=80f82aef2ba595d5b27186cf5e86a31ab06d8555;hb=55b0eeea6028e00741e620d28ab3211c49b8515f;hpb=15776b68de021ae41ebd5d8d646beca694c3784d diff --git a/plugins/gpu_unai/Makefile b/plugins/gpu_unai/Makefile index 80f82aef..531c9fb6 100644 --- a/plugins/gpu_unai/Makefile +++ b/plugins/gpu_unai/Makefile @@ -7,7 +7,16 @@ 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 +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) @@ -16,7 +25,7 @@ LDFLAGS += -shared -Wl,-soname,$(TARGET) all: $(TARGET) -$(TARGET): gpu.cpp ../../frontend/cspace_neon.s +$(TARGET): $(SRC) $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) # $(TARGET): *.h