aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornotaz2011-09-24 18:41:41 +0300
committernotaz2011-09-25 01:24:11 +0300
commit55b0eeea6028e00741e620d28ab3211c49b8515f (patch)
treecc652ae976722211ff4bc7d65c9c890ad1057099 /Makefile
parent15776b68de021ae41ebd5d8d646beca694c3784d (diff)
downloadpcsx_rearmed-55b0eeea6028e00741e620d28ab3211c49b8515f.tar.gz
pcsx_rearmed-55b0eeea6028e00741e620d28ab3211c49b8515f.tar.bz2
pcsx_rearmed-55b0eeea6028e00741e620d28ab3211c49b8515f.zip
add pollux/caanoo port, refactor things
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index fa1f673..bf364c7 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ LD = $(CROSS_COMPILE)ld
ARM926 ?= 0
ARM_CORTEXA8 ?= 1
+PLATFORM ?= pandora
USE_OSS ?= 1
#USE_ALSA = 1
#DRC_DBG = 1
@@ -112,16 +113,23 @@ ifeq "$(USE_GTK)" "1"
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
-ifeq "$(ARCH)" "arm"
+
+ifeq "$(PLATFORM)" "pandora"
+frontend/%.o: CFLAGS += -DVOUT_FBDEV
+OBJS += frontend/linux/fbdev.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
+endif
+
endif # !USE_GTK
ifeq "$(HAVE_NEON)" "1"