pkgsrc-WIP-changes archive

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

libretro-picodrive: on ARM just use the settings necessary for it to work, allowing the system's own tuning options instead of the raspberry's.



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Mon Jun 5 02:36:08 2017 +0100
Changeset:	0073ff32f4711ee391dd1a39924a8133e918f807

Modified Files:
	libretro-picodrive/Makefile

Log Message:
libretro-picodrive: on ARM just use the settings necessary for it
to work, allowing the system's own tuning options instead of the
raspberry's.

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

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

diffstat:
 libretro-picodrive/Makefile | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diffs:
diff --git a/libretro-picodrive/Makefile b/libretro-picodrive/Makefile
index 530b9781ee..76b6c204e5 100644
--- a/libretro-picodrive/Makefile
+++ b/libretro-picodrive/Makefile
@@ -30,10 +30,23 @@ NOT_FOR_PLATFORM=	${BIGENDIANPLATFORMS}
 
 INSTALLATION_DIRS+=	${PREFIX}/lib/libretro
 
-.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
+.if !empty(MACHINE_ARCH:M*arm*)
+CFLAGS+=		-marm
+BUILD_MAKE_FLAGS+=	ARCH=arm
+BUILD_MAKE_FLAGS+=	ARM_ASM=1
+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=1
+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
 
 USE_TOOLS+=		gzcat
 


Home | Main Index | Thread Index | Old Index