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
drc: starting arm64 support
[pcsx_rearmed.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
18ef4e0
..
3f4b87d
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-56,8
+56,15
@@
libpcsxcore/psxbios.o: CFLAGS += -Wno-nonnull
# dynarec
ifeq "$(USE_DYNAREC)" "1"
# dynarec
ifeq "$(USE_DYNAREC)" "1"
-OBJS += libpcsxcore/new_dynarec/new_dynarec.o
libpcsxcore/new_dynarec/linkage_arm.o
+OBJS += libpcsxcore/new_dynarec/new_dynarec.o
OBJS += libpcsxcore/new_dynarec/pcsxmem.o
OBJS += libpcsxcore/new_dynarec/pcsxmem.o
+ ifeq "$(ARCH)" "arm"
+ OBJS += libpcsxcore/new_dynarec/linkage_arm.o
+ else ifeq "$(ARCH)" "aarch64"
+ OBJS += libpcsxcore/new_dynarec/linkage_arm64.o
+ else
+ $(error no dynarec support for architecture $(ARCH))
+ endif
else
CFLAGS += -DDRC_DISABLE
endif
else
CFLAGS += -DDRC_DISABLE
endif
@@
-129,6
+136,15
@@
plugins/gpu_unai/gpulib_if.o: CFLAGS += -DREARMED -O3
CC_LINK = $(CXX)
endif
CC_LINK = $(CXX)
endif
+ifeq "$(BUILTIN_GPU)" "senquack"
+OBJS += plugins/gpu_senquack/gpulib_if.o
+ifeq "$(ARCH)" "arm"
+OBJS += plugins/gpu_senquack/gpu_arm.o
+endif
+plugins/gpu_senquack/gpulib_if.o: CFLAGS += -DREARMED -O3
+CC_LINK = $(CXX)
+endif
+
# cdrcimg
OBJS += plugins/cdrcimg/cdrcimg.o
ifeq "$(CHD_SUPPORT)" "1"
# cdrcimg
OBJS += plugins/cdrcimg/cdrcimg.o
ifeq "$(CHD_SUPPORT)" "1"
@@
-213,6
+229,7
@@
ifeq "$(USE_PLUGIN_LIB)" "1"
OBJS += frontend/plugin_lib.o
OBJS += frontend/libpicofe/linux/plat.o
OBJS += frontend/libpicofe/readpng.o frontend/libpicofe/fonts.o
OBJS += frontend/plugin_lib.o
OBJS += frontend/libpicofe/linux/plat.o
OBJS += frontend/libpicofe/readpng.o frontend/libpicofe/fonts.o
+frontend/libpicofe/linux/plat.o: CFLAGS += -DNO_HOME_DIR
ifeq "$(HAVE_NEON)" "1"
OBJS += frontend/libpicofe/arm/neon_scale2x.o
OBJS += frontend/libpicofe/arm/neon_eagle2x.o
ifeq "$(HAVE_NEON)" "1"
OBJS += frontend/libpicofe/arm/neon_scale2x.o
OBJS += frontend/libpicofe/arm/neon_eagle2x.o
@@
-281,6
+298,12
@@
endif
.PHONY: all clean target_ plugins_ clean_plugins FORCE
.PHONY: all clean target_ plugins_ clean_plugins FORCE
+ifneq "$(PLATFORM)" "pandora"
+ifdef CPATH
+$(warning warning: CPATH is defined)
+endif
+endif
+
# ----------- release -----------
VER ?= $(shell git describe HEAD)
# ----------- release -----------
VER ?= $(shell git describe HEAD)