blob: 88e158fc317812cef52e7c46b51d12b1cbbbd9f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: options.mk,v 1.2 2015/02/05 16:57:36 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libretro-mupen64plus
.include "../../mk/bsd.fast.prefs.mk"
.if !empty(MACHINE_ARCH:M*arm*)
PKG_SUPPORTED_OPTIONS+= rpi dynarec
PKG_SUGGESTED_OPTIONS+= rpi dynarec
MUPEN64_DYNAREC_ARCH= arm
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mrpi)
MAKE_ENV+= platform=rpi
.include "../../misc/raspberrypi-userland/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mdynarec)
MAKE_ENV+= WITH_DYNAREC=${MUPEN64_DYNAREC_ARCH}
.endif
|