X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile.maemo;h=0c2e49f3952cc35937529c3739fa7ff0414a5463;hp=cf997d8620bedaf46e0413f1d9e96fdda840901e;hb=88d6397dd897815ccac8091bf7921f05ffa0b88e;hpb=b7b2fb4165eee505bc05cbf23309bb5ed4289494;ds=sidebyside diff --git a/Makefile.maemo b/Makefile.maemo index cf997d86..0c2e49f3 100644 --- a/Makefile.maemo +++ b/Makefile.maemo @@ -1,7 +1,22 @@ USE_GTK=1 -USE_ALSA = 1 +USE_ALSA=1 USE_OSS=0 +PLATFORM=generic +NO_TSLIB=1 + +export MAEMO=1 LDFLAGS += $(shell pkg-config --libs hildon-1 libpulse) -CFLAGS += -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -ffast-math -O3 \ - -mfpu=neon -funsafe-math-optimizations \ - -mstructure-size-boundary=32 -falign-functions=32 -falign-loops +EXTRA_CFLAGS += -march=armv7-a -O3 -mfpu=neon -funsafe-math-optimizations \ + -mstructure-size-boundary=32 -falign-functions=32 -falign-loops \ + -DMAEMO -DMAEMO_CHANGES $(shell pkg-config --cflags hildon-1) + +#EXTRA_CFLAGS += -Imaemo/i/gtk-2.0 -Imaemo/i/hildon -Imaemo/i/glib-2.0 -Imaemo/i/cairo \ + -Imaemo/i/pango-1.0 -Imaemo/i/atk-1.0 -DMAEMO -DMAEMO_CHANGES + +include Makefile + +maemo: pcsx plugins/spunull/spunull.so + rm -rf out + mkdir -p out/plugins + cp -r plugins/spunull/spunull.so . + strip pcsx spunull.so