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
add pollux/caanoo port, refactor things
[pcsx_rearmed.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
5a7b278
..
bf364c7
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,6
+5,7
@@
LD = $(CROSS_COMPILE)ld
ARM926 ?= 0
ARM_CORTEXA8 ?= 1
ARM926 ?= 0
ARM_CORTEXA8 ?= 1
+PLATFORM ?= pandora
USE_OSS ?= 1
#USE_ALSA = 1
#DRC_DBG = 1
USE_OSS ?= 1
#USE_ALSA = 1
#DRC_DBG = 1
@@
-16,7
+17,7
@@
TARGET = pcsx
ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}')
CFLAGS += -Wall -ggdb -Ifrontend -ffast-math
ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}')
CFLAGS += -Wall -ggdb -Ifrontend -ffast-math
-LDFLAGS += -lz -lpthread -ldl -lpng
-lbz2
+LDFLAGS += -lz -lpthread -ldl -lpng
ifndef DEBUG
CFLAGS += -O2 -DNDEBUG
endif
ifndef DEBUG
CFLAGS += -O2 -DNDEBUG
endif
@@
-112,16
+113,23
@@
ifeq "$(USE_GTK)" "1"
OBJS += maemo/hildon.o maemo/main.o
maemo/%.o: maemo/%.c
else
OBJS += maemo/hildon.o maemo/main.o
maemo/%.o: maemo/%.c
else
-frontend/%.o: CFLAGS += -DVOUT_FBDEV
-OBJS += frontend/menu.o
-OBJS += frontend/linux/fbdev.o frontend/linux/in_evdev.o
+OBJS += frontend/menu.o frontend/linux/in_evdev.o
OBJS += frontend/common/input.o frontend/linux/oshide.o
OBJS += frontend/common/input.o frontend/linux/oshide.o
-ifeq "$(ARCH)" "arm"
+
+ifeq "$(PLATFORM)" "pandora"
+frontend/%.o: CFLAGS += -DVOUT_FBDEV
+OBJS += frontend/linux/fbdev.o
OBJS += frontend/plat_omap.o
OBJS += frontend/plat_omap.o
-OBJS += frontend/pandora.o
+OBJS += frontend/plat_pandora.o
+else
+ifeq "$(PLATFORM)" "caanoo"
+OBJS += frontend/plat_pollux.o
+OBJS += frontend/warm/warm.o
else
OBJS += frontend/plat_dummy.o
endif
else
OBJS += frontend/plat_dummy.o
endif
+endif
+
endif # !USE_GTK
ifeq "$(HAVE_NEON)" "1"
endif # !USE_GTK
ifeq "$(HAVE_NEON)" "1"