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 <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Mon Jun 5 02:00:19 2017 +0100
Changeset:	d307d05b818a06bec7a7c0daa35808b505c49eed

Modified Files:
	libretro-picodrive/Makefile
	libretro-picodrive/TODO

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

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d307d05b818a06bec7a7c0daa35808b505c49eed

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

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

diffs:
diff --git a/libretro-picodrive/Makefile b/libretro-picodrive/Makefile
index 9c6f71c0f6..530b9781ee 100644
--- a/libretro-picodrive/Makefile
+++ b/libretro-picodrive/Makefile
@@ -30,21 +30,10 @@ NOT_FOR_PLATFORM=	${BIGENDIANPLATFORMS}
 
 INSTALLATION_DIRS+=	${PREFIX}/lib/libretro
 
-.if !empty(MACHINE_ARCH:M*arm*)
-BUILD_MAKE_FLAGS+=	ARCH=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
 version.)


Home | Main Index | Thread Index | Old Index