From: notaz Date: Thu, 13 Aug 2009 22:18:12 +0000 (+0000) Subject: fix clean build X-Git-Tag: v1.85~298 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4010330cc00a358d301caccf8aac6dd02bf8cad5;p=picodrive.git fix clean build git-svn-id: file:///home/notaz/opt/svn/PicoDrive@751 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/platform/gp2x/Makefile b/platform/gp2x/Makefile index f2000ad6..682a6526 100644 --- a/platform/gp2x/Makefile +++ b/platform/gp2x/Makefile @@ -157,8 +157,9 @@ ifeq ($(VER),) $(error need VER) endif endif +CODE940 = code940/pico940_v3.bin -rel: PicoDrive PicoDrive.gpe code940/pico940_v3.bin readme.txt PicoDrive.png ../game_def.cfg \ +rel: PicoDrive PicoDrive.gpe $(CODE940) readme.txt PicoDrive.png ../game_def.cfg \ warm_2.4.25.o warm_2.4.26-open2x.o warm_2.6.24.ko zip -9 -j ../../PicoDrive_$(VER).zip $^ zip -9 -r ../../PicoDrive_$(VER).zip skin -i \*.png -i \*.txt @@ -167,6 +168,6 @@ rel: PicoDrive PicoDrive.gpe code940/pico940_v3.bin readme.txt PicoDrive.png ../ zip -9 -r ../../PicoDrive_$(VER).zip bin_to_cso_mp3 rm -rf bin_to_cso_mp3 -code940/code940.bin: +$(CODE940): make -C code940/ diff --git a/platform/gp2x/PicoDrive.gpe b/platform/gp2x/PicoDrive.gpe new file mode 100644 index 00000000..80b1326c --- /dev/null +++ b/platform/gp2x/PicoDrive.gpe @@ -0,0 +1,12 @@ +#!/bin/sh + +export LD_PRELOAD= + +export POLLUX_RAM_TIMINGS='ram_timings=2,9,4,1,1,1,1' +export POLLUX_LCD_TIMINGS_NTSC='lcd_timings=397,1,37,277,341,0,17,337;clkdiv0=9' +export POLLUX_LCD_TIMINGS_PAL='lcd_timings=428,1,37,277,341,0,17,337;clkdiv0=10' + +./PicoDrive $* + +cd /usr/gp2x +exec ./gp2xmenu