X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2FMakefile;h=01e4e3b50f7e73c7fdd8d01cb4804facf84734fb;hb=553c3eaa3a4bda6ba99d925ecab518fe82530cd6;hp=bcaa1d08a36e1b71f07dbbb71e8546ff7a5c85c5;hpb=274f95a9a9e5a889ee137a7cbd764a384a7ac2dd;p=picodrive.git diff --git a/platform/gp2x/Makefile b/platform/gp2x/Makefile index bcaa1d0..01e4e3b 100644 --- a/platform/gp2x/Makefile +++ b/platform/gp2x/Makefile @@ -15,14 +15,15 @@ amalgamate = 0 use_sh2drc = 1 drc_debug = 1 +-include Makefile.local ifeq "$(debug_cyclone)" "1" use_cyclone = 1 use_musashi = 1 endif ifeq "$(use_musashi)" "1" +# due to CPU stop flag acces asm_cdpico = 0 -asm_memory = 0 asm_cdmemory = 0 else use_cyclone = 1 @@ -119,8 +120,8 @@ DEFINES += DRC_SH2 DRC_TMP OBJS += cpu/sh2/mame/sh2pico.o OBJS += cpu/sh2/compiler.o OBJS += cpu/sh2/stub_arm.o -ifeq "$(drc_debug)" "1" -DEFINES += DRC_DEBUG=1 +ifdef drc_debug +DEFINES += DRC_DEBUG=$(drc_debug) OBJS += cpu/sh2/mame/sh2dasm.o OBJS += platform/linux/host_dasm.o LDFLAGS += -lbfd -lopcodes -liberty