pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libretro-picodrive: Get it working on my Banana Pi

Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <>
Pushed By:	nee
Date:		Mon Jun 5 02:00:19 2017 +0100
Changeset:	d307d05b818a06bec7a7c0daa35808b505c49eed

Modified Files:

Log Message:
libretro-picodrive: Get it working on my Banana Pi

To see a diff of this commit:;a=commitdiff;h=d307d05b818a06bec7a7c0daa35808b505c49eed

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

 libretro-picodrive/Makefile | 19 ++++---------------
 libretro-picodrive/TODO     |  2 +-
 2 files changed, 5 insertions(+), 16 deletions(-)

diff --git a/libretro-picodrive/Makefile b/libretro-picodrive/Makefile
index 9c6f71c0f6..530b9781ee 100644
--- a/libretro-picodrive/Makefile
+++ b/libretro-picodrive/Makefile
-.if !empty(MACHINE_ARCH:M*arm*)
-BUILD_MAKE_FLAGS+=	asm_memory=1
-BUILD_MAKE_FLAGS+=	asm_render=1
-BUILD_MAKE_FLAGS+=	asm_ym2612=1
-BUILD_MAKE_FLAGS+=	asm_misc=1
-BUILD_MAKE_FLAGS+=	asm_cdpico=0
-BUILD_MAKE_FLAGS+=	asm_cdmemory=1
-BUILD_MAKE_FLAGS+=	asm_mix=1
-BUILD_MAKE_FLAGS+=	use_cyclone=1
-BUILD_MAKE_FLAGS+=	use_fame=0
-BUILD_MAKE_FLAGS+=	use_drz80=1
-BUILD_MAKE_FLAGS+=	use_cz80=0
-BUILD_MAKE_FLAGS+=	use_sh2drc=1
-BUILD_MAKE_FLAGS+=	use_svpdrc=1
+.if !empty(MACHINE_ARCH:M*armv6*) || !empty(MACHINE_ARCH:M*armv7*)
+# This is just a way to get the right flags, it doesn't use anything
+# Raspberry Pi specific.
+BUILD_MAKE_FLAGS+=	platform=raspberrypi
 USE_TOOLS+=		gzcat
diff --git a/libretro-picodrive/TODO b/libretro-picodrive/TODO
index de87565154..8c4411c123 100644
--- a/libretro-picodrive/TODO
+++ b/libretro-picodrive/TODO
@@ -4,7 +4,7 @@ that.
 I couldn't get it to start without segfaulting on NetBSD amd64 with clang
 and gcc5, same on Armbian with gcc 4.9.
-According to upstream it depends on gcc 4.8, which works on amd64.
+According to upstream it depends on gcc 4.8, which works on amd64 and ARM.
 (This has always been the case, and isn't just specific to this newer

Home | Main Index | Thread Index | Old Index