genode-ehmry/libretro/cores
Ehmry - df3e9c32e5 19.07 compatibility 2019-07-04 14:45:54 +02:00
..
4do 19.07 compatibility 2019-07-04 14:45:54 +02:00
2048 Update 2048 submodule 2019-06-22 20:19:22 +02:00
bluemsx 19.07 compatibility 2019-07-04 14:45:54 +02:00
dinothawr Update submodules 2019-04-27 20:18:13 +02:00
dosbox-libretro 19.05 updates 2019-06-21 11:38:14 +02:00
dosbox-svn 19.05 updates 2019-06-21 11:38:14 +02:00
fceumm 19.07 compatibility 2019-07-04 14:45:54 +02:00
gambatte 19.07 compatibility 2019-07-04 14:45:54 +02:00
lutro Update Libretro submodules 2019-07-03 22:30:31 +02:00
mgba 19.07 compatibility 2019-07-04 14:45:54 +02:00
mrboom Update Libretro submodules 2019-07-03 22:30:31 +02:00
mu Update submodules 2019-04-27 20:18:13 +02:00
nxengine 19.07 compatibility 2019-07-04 14:45:54 +02:00
oberon Update Libretro submodules 2019-07-03 22:30:31 +02:00
samples 19.07 compatibility 2019-07-04 14:45:54 +02:00
snes9x 19.07 compatibility 2019-07-04 14:45:54 +02:00
tyrquake Update Libretro submodules 2019-07-03 22:30:31 +02:00
yabause 19.07 compatibility 2019-07-04 14:45:54 +02:00
README.md Add READMEs 2019-04-27 20:18:13 +02:00
Tuprules.tup 19.07 compatibility 2019-07-04 14:45:54 +02:00
link.T Libretro rules 2019-04-27 20:17:17 +02:00

README.md

This directory contains core submodules and Genode-specific build rules. To port a core to Genode, add a minimal Tupfile to the upsteam repository, add a new directory containing the upstream Git repository here as submodule, then add a Tuprules.tup file in the local directory containg Genode build rules.

The upstream Tupfile should be as simple as possible. It must mirror the core TARGET_NAME defined in the Libretro makefile, the CORE_DIR if defined by Make as well, and the include_rules directive.

TARGET_NAME=2048
CORE_DIR=$(TUP_CWD)
include_rules

The local Tuprules.tup file contains the actual build rules. Typically a core repository contains Makefile and Makefile.common files, the later containing a list of sources files relative to a CORE_DIR variable, which can usually be included and parsed by Tup. Note that Tup cannot include files relative to a variable, Tuprules.tup must include Makefile.common relative to itself. Please refer to a Tuprules.tup in any of the core directories here as an example.

Unfortunately not all cores are trivally compatible with Tup, in particular those with makefiles that wrap a pre-Libretro Make build system.