adjustments for CPU core changes
authornotaz <notasas@gmail.com>
Fri, 13 Jul 2007 13:43:56 +0000 (13:43 +0000)
committernotaz <notasas@gmail.com>
Fri, 13 Jul 2007 13:43:56 +0000 (13:43 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@190 be3aeb3a-fb24-0410-a615-afba39da0efa

gp2x/Makefile

index 1654dfa..377ea11 100644 (file)
@@ -21,10 +21,12 @@ asm_cdmemory = 1
 ifeq "$(debug_cyclone)" "1"\r
 use_cyclone = 1\r
 use_musashi = 1\r
+endif\r
+ifeq "$(use_musashi)" "1"\r
+asm_cdpico = 0\r
 asm_memory = 0\r
 asm_cdmemory = 0\r
-endif\r
-ifneq "$(use_musashi)" "1"\r
+else\r
 use_cyclone = 1\r
 endif\r
 \r
@@ -99,8 +101,7 @@ endif
 # CPU cores\r
 ifeq "$(use_musashi)" "1"\r
 DEFINC += -DEMU_M68K\r
-OBJS += ../../cpu/musashi/m68kcpu.o ../../cpu/musashi/m68kopac.o ../../cpu/musashi/m68kopdm.o\r
-OBJS += ../../cpu/musashi/m68kopnz.o ../../cpu/musashi/m68kops.o\r
+OBJS += ../../cpu/musashi/m68kops.o ../../cpu/musashi/m68kcpu.o\r
 endif\r
 ifeq "$(use_cyclone)" "1"\r
 DEFINC += -DEMU_C68K\r
@@ -179,7 +180,11 @@ testrefr.gpe : test.o gp2x.o asmutils.o
 # build Cyclone\r
 ../../cpu/Cyclone/proj/Cyclone.s :\r
        @echo building Cyclone...\r
-       @make -C ../../cpu/Cyclone/proj -f Makefile.linux\r
+       @make -C ../../cpu/Cyclone/proj\r
+\r
+../../cpu/musashi/m68kops.c :\r
+       @make -C ../../cpu/musashi\r
+\r
 \r
 # build helix libs\r
 helix/helix_mp3.a:\r