@@ -22,6 +22,7 @@ SRC_C := $(notdir $(SOURCES_C))
|
||||
vpath %.c $(CORE_DIR)
|
||||
vpath %.c $(CORE_DIR)/boards
|
||||
vpath %.c $(CORE_DIR)/drivers/libretro
|
||||
vpath %.c $(CORE_DIR)/drivers/libretro/libretro-common/compat
|
||||
vpath %.c $(CORE_DIR)/drivers/libretro/libretro-common/streams
|
||||
vpath %.c $(CORE_DIR)/input
|
||||
vpath %.c $(CORE_DIR)/mappers
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
LIBS = libretro libc stdcxx
|
||||
LIBS = libc stdcxx
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
LIBS = libretro libc libm stdcxx
|
||||
LIBS = libc libm stdcxx
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
PORT_DIR := $(call select_from_ports,tyrquake-libretro)/src/lib/tyrquake-libretro
|
||||
PORT_DIR := $(call select_from_ports,tyrquake-libretro)/src/libretro/tyrquake
|
||||
CORE_DIR := $(PORT_DIR)
|
||||
|
||||
-include $(PORT_DIR)/Makefile.common
|
||||
|
||||
INC_DIR += \
|
||||
$(REP_DIR)/src/libretro/tyrquake \
|
||||
$(PORT_DIR)/libretro-common/include
|
||||
$(PORT_DIR)/common \
|
||||
$(PORT_DIR)/libretro-common/include \
|
||||
|
||||
CC_OPT = \
|
||||
-DHAVE_STRINGS_H \
|
||||
|
||||
@@ -1 +1 @@
|
||||
91bdfba4909178d944f6602439b93f8e65cec296
|
||||
7e313a85de4e5600dca2fb7b8d16e6a1ec1a57f7
|
||||
|
||||
@@ -8,4 +8,4 @@ REV := 7f3c540a320b706031021bb187bb03bb4c326f88
|
||||
URL(tyrquake-libretro) := https://github.com/$(OWNER)/$(REPO)/archive/$(REV).tar.gz
|
||||
SHA(tyrquake-libretro) := 4ef1899ac6a66b476541064319df6d40c148fba2
|
||||
|
||||
DIR(tyrquake-libretro) := src/lib/tyrquake-libretro
|
||||
DIR(tyrquake-libretro) := src/libretro/tyrquake
|
||||
|
||||
1
recipes/pkg/fceumm_libretro/README
Normal file
1
recipes/pkg/fceumm_libretro/README
Normal file
@@ -0,0 +1 @@
|
||||
FCE Ultra mappers modified, an emulator for the Nintendo Entertainment System
|
||||
3
recipes/pkg/fceumm_libretro/archives
Normal file
3
recipes/pkg/fceumm_libretro/archives
Normal file
@@ -0,0 +1,3 @@
|
||||
_/src/fceumm_libretro
|
||||
_/src/libc
|
||||
_/src/zlib
|
||||
1
recipes/pkg/fceumm_libretro/hash
Normal file
1
recipes/pkg/fceumm_libretro/hash
Normal file
@@ -0,0 +1 @@
|
||||
2017-11-27 7b23c5e758426526c248cc0f3c950fe6c0fd1ba5
|
||||
1
recipes/pkg/meteor_libretro/README
Normal file
1
recipes/pkg/meteor_libretro/README
Normal file
@@ -0,0 +1 @@
|
||||
Meteor emulator for the Game Boy Advance
|
||||
2
recipes/pkg/meteor_libretro/archives
Normal file
2
recipes/pkg/meteor_libretro/archives
Normal file
@@ -0,0 +1,2 @@
|
||||
_/src/meteor_libretro
|
||||
_/src/libc
|
||||
1
recipes/pkg/meteor_libretro/hash
Normal file
1
recipes/pkg/meteor_libretro/hash
Normal file
@@ -0,0 +1 @@
|
||||
2017-11-27 2b0c5d1bfc622a0b7cb10aa07cdb35f08a394063
|
||||
3
recipes/pkg/snes9x_libretro/README
Normal file
3
recipes/pkg/snes9x_libretro/README
Normal file
@@ -0,0 +1,3 @@
|
||||
Snes9x emulator for the Super Nintendo Entertainment System
|
||||
|
||||
http://www.snes9x.com/
|
||||
2
recipes/pkg/snes9x_libretro/archives
Normal file
2
recipes/pkg/snes9x_libretro/archives
Normal file
@@ -0,0 +1,2 @@
|
||||
_/src/snes9x_libretro
|
||||
_/src/libc
|
||||
1
recipes/pkg/snes9x_libretro/hash
Normal file
1
recipes/pkg/snes9x_libretro/hash
Normal file
@@ -0,0 +1 @@
|
||||
2017-11-27 228441601a48077e33274d70cbfd5466202ced8e
|
||||
3
recipes/pkg/tyrquake_libretro/README
Normal file
3
recipes/pkg/tyrquake_libretro/README
Normal file
@@ -0,0 +1,3 @@
|
||||
TyrQuake engine
|
||||
|
||||
http://disentchant.net/tyrquake/
|
||||
2
recipes/pkg/tyrquake_libretro/archives
Normal file
2
recipes/pkg/tyrquake_libretro/archives
Normal file
@@ -0,0 +1,2 @@
|
||||
_/src/libc
|
||||
_/src/tyrquake_libretro
|
||||
1
recipes/pkg/tyrquake_libretro/hash
Normal file
1
recipes/pkg/tyrquake_libretro/hash
Normal file
@@ -0,0 +1 @@
|
||||
2017-11-28 99f3d81ad18df7f6bd7c7142d3280f5b708e3b21
|
||||
2
recipes/src/fb_upscale/content.mk
Normal file
2
recipes/src/fb_upscale/content.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
SRC_DIR = src/server/fb_upscale
|
||||
include $(GENODE_DIR)/repos/base/recipes/src/content.inc
|
||||
1
recipes/src/fb_upscale/hash
Normal file
1
recipes/src/fb_upscale/hash
Normal file
@@ -0,0 +1 @@
|
||||
2017-11-27 2b759e4a169c16ed19e007b0fd5cf53293e7f068
|
||||
2
recipes/src/fb_upscale/used_apis
Normal file
2
recipes/src/fb_upscale/used_apis
Normal file
@@ -0,0 +1,2 @@
|
||||
base
|
||||
framebuffer_session
|
||||
1
recipes/src/fceumm_libretro/api
Normal file
1
recipes/src/fceumm_libretro/api
Normal file
@@ -0,0 +1 @@
|
||||
libretro
|
||||
14
recipes/src/fceumm_libretro/content.mk
Normal file
14
recipes/src/fceumm_libretro/content.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
content: lib/mk/fceumm_libretro.mk src/libretro/fceumm LICENSE
|
||||
|
||||
CORE_DIR := $(call port_dir,$(REP_DIR)/ports/fceumm-libretro)/src/libretro/fceumm
|
||||
|
||||
lib/mk/fceumm_libretro.mk:
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
src/libretro/fceumm:
|
||||
$(mirror_from_rep_dir)
|
||||
cp -r $(CORE_DIR)/* $@
|
||||
echo "LIBS = fceumm_libretro" > $@/target.mk
|
||||
|
||||
LICENSE:
|
||||
cp $(CORE_DIR)/Copying LICENSE
|
||||
1
recipes/src/fceumm_libretro/hash
Normal file
1
recipes/src/fceumm_libretro/hash
Normal file
@@ -0,0 +1 @@
|
||||
2017-11-27 a0faa1146122f9c44500385c3dcb9c3f8e26a02a
|
||||
4
recipes/src/fceumm_libretro/used_apis
Normal file
4
recipes/src/fceumm_libretro/used_apis
Normal file
@@ -0,0 +1,4 @@
|
||||
libc
|
||||
so
|
||||
stdcxx
|
||||
zlib
|
||||
14
recipes/src/meteor_libretro/content.mk
Normal file
14
recipes/src/meteor_libretro/content.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
content: lib/mk/meteor_libretro.mk src/libretro/meteor LICENSE
|
||||
|
||||
CORE_DIR := $(call port_dir,$(REP_DIR)/ports/meteor-libretro)/src/libretro/meteor
|
||||
|
||||
lib/mk/meteor_libretro.mk:
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
src/libretro/meteor:
|
||||
$(mirror_from_rep_dir)
|
||||
cp -r $(CORE_DIR)/* $@
|
||||
echo "LIBS = meteor_libretro" > $@/target.mk
|
||||
|
||||
LICENSE:
|
||||
cp $(CORE_DIR)/COPYING LICENSE
|
||||
1
recipes/src/meteor_libretro/hash
Normal file
1
recipes/src/meteor_libretro/hash
Normal file
@@ -0,0 +1 @@
|
||||
2017-11-27 cd297ae262c8628e505d8407ef3df840885ada6d
|
||||
3
recipes/src/meteor_libretro/used_apis
Normal file
3
recipes/src/meteor_libretro/used_apis
Normal file
@@ -0,0 +1,3 @@
|
||||
libc
|
||||
so
|
||||
stdcxx
|
||||
@@ -1 +1 @@
|
||||
2017-11-16 0224fb049a40facef7e0a7460936ee1b0bbf267d
|
||||
2017-11-27 5d0ed1ae158fe0b7d3f825b2d4815b8e98375866
|
||||
|
||||
1
recipes/src/snes9x_libretro/api
Normal file
1
recipes/src/snes9x_libretro/api
Normal file
@@ -0,0 +1 @@
|
||||
libretro
|
||||
14
recipes/src/snes9x_libretro/content.mk
Normal file
14
recipes/src/snes9x_libretro/content.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
content: lib/mk/snes9x_libretro.mk src/libretro/snes9x LICENSE
|
||||
|
||||
CORE_DIR := $(call port_dir,$(REP_DIR)/ports/snes9x-libretro)/src/libretro/snes9x
|
||||
|
||||
lib/mk/snes9x_libretro.mk:
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
src/libretro/snes9x:
|
||||
$(mirror_from_rep_dir)
|
||||
cp -r $(CORE_DIR)/* $@
|
||||
echo "LIBS = snes9x_libretro" > $@/target.mk
|
||||
|
||||
LICENSE:
|
||||
cp $(CORE_DIR)/docs/snes9x-license.txt LICENSE
|
||||
1
recipes/src/snes9x_libretro/hash
Normal file
1
recipes/src/snes9x_libretro/hash
Normal file
@@ -0,0 +1 @@
|
||||
2017-11-27 07d08e662af9e92c7fe7f386dfea53e2e25383a1
|
||||
4
recipes/src/snes9x_libretro/used_apis
Normal file
4
recipes/src/snes9x_libretro/used_apis
Normal file
@@ -0,0 +1,4 @@
|
||||
libc
|
||||
so
|
||||
stdcxx
|
||||
zlib
|
||||
14
recipes/src/tyrquake_libretro/content.mk
Normal file
14
recipes/src/tyrquake_libretro/content.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
content: lib/mk/tyrquake_libretro.mk src/libretro/tyrquake LICENSE
|
||||
|
||||
CORE_DIR := $(call port_dir,$(REP_DIR)/ports/tyrquake-libretro)/src/libretro/tyrquake
|
||||
|
||||
lib/mk/tyrquake_libretro.mk:
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
src/libretro/tyrquake:
|
||||
$(mirror_from_rep_dir)
|
||||
cp -r $(CORE_DIR)/* $@
|
||||
echo "LIBS = tyrquake_libretro" > $@/target.mk
|
||||
|
||||
LICENSE:
|
||||
cp $(CORE_DIR)/gnu.txt LICENSE
|
||||
1
recipes/src/tyrquake_libretro/hash
Normal file
1
recipes/src/tyrquake_libretro/hash
Normal file
@@ -0,0 +1 @@
|
||||
2017-11-28 e8a8580e4458b13cc1f225b96e70f25a92c9582e
|
||||
3
recipes/src/tyrquake_libretro/used_apis
Normal file
3
recipes/src/tyrquake_libretro/used_apis
Normal file
@@ -0,0 +1,3 @@
|
||||
libc
|
||||
so
|
||||
stdcxx
|
||||
@@ -12,15 +12,19 @@ if {[expr [have_include "power_on/qemu"] && !$force_qemu]} {
|
||||
set wget [check_installed wget]
|
||||
set unzip [check_installed unzip]
|
||||
|
||||
create_boot_directory
|
||||
|
||||
import_from_depot genodelabs/src/[base_src] \
|
||||
genodelabs/pkg/fceumm_libretro \
|
||||
genodelabs/src/fb_upscale \
|
||||
genodelabs/src/init \
|
||||
genodelabs/src/report_rom \
|
||||
genodelabs/src/retro_frontend \
|
||||
|
||||
set build_components {
|
||||
core init
|
||||
app/retro_frontend
|
||||
drivers/audio
|
||||
drivers/framebuffer
|
||||
drivers/input
|
||||
drivers/timer
|
||||
libretro/fceumm
|
||||
server/fb_upscale
|
||||
}
|
||||
|
||||
source ${genode_dir}/repos/base/run/platform_drv.inc
|
||||
@@ -37,8 +41,6 @@ append_platform_drv_build_components
|
||||
|
||||
build $build_components
|
||||
|
||||
create_boot_directory
|
||||
|
||||
#
|
||||
# Generate config
|
||||
#
|
||||
@@ -163,19 +165,8 @@ if {![file exist bin/Driar.nes]} {
|
||||
|
||||
# generic modules
|
||||
append boot_modules {
|
||||
core init ld.lib.so
|
||||
} [audio_drv_binary] {
|
||||
fb_upscale
|
||||
fceumm_libretro.lib.so
|
||||
libc.lib.so
|
||||
libm.lib.so
|
||||
report_rom
|
||||
retro_frontend
|
||||
stdcxx.lib.so
|
||||
timer
|
||||
zlib.lib.so
|
||||
|
||||
Driar.nes
|
||||
} [audio_drv_binary] {
|
||||
}
|
||||
|
||||
# platform-specific modules
|
||||
|
||||
@@ -6,17 +6,20 @@ if {[expr [have_include "power_on/qemu"] && !$force_qemu]} {
|
||||
exit
|
||||
}
|
||||
|
||||
#
|
||||
# Check used commands
|
||||
#
|
||||
set wget [check_installed wget]
|
||||
set unzip [check_installed unzip]
|
||||
create_boot_directory
|
||||
|
||||
import_from_depot \
|
||||
genodelabs/src/[base_src] \
|
||||
genodelabs/pkg/[drivers_interactive_pkg] \
|
||||
genodelabs/pkg/meteor_libretro \
|
||||
genodelabs/src/fb_upscale \
|
||||
genodelabs/src/init \
|
||||
genodelabs/src/report_rom \
|
||||
genodelabs/src/retro_frontend \
|
||||
|
||||
|
||||
set build_components {
|
||||
app/retro_frontend
|
||||
drivers/audio
|
||||
libretro/meteor
|
||||
server/fb_upscale
|
||||
}
|
||||
|
||||
source ${genode_dir}/repos/base/run/platform_drv.inc
|
||||
@@ -31,13 +34,6 @@ proc platform_drv_policy {} {
|
||||
|
||||
build $build_components
|
||||
|
||||
create_boot_directory
|
||||
|
||||
import_from_depot \
|
||||
genodelabs/src/[base_src] \
|
||||
genodelabs/pkg/[drivers_interactive_pkg] \
|
||||
genodelabs/src/init \
|
||||
genodelabs/src/report_rom \
|
||||
|
||||
#
|
||||
# Generate config
|
||||
@@ -163,12 +159,6 @@ if {![file exists bin/game.gba]} {
|
||||
|
||||
# generic modules
|
||||
append boot_modules {
|
||||
fb_upscale
|
||||
libc.lib.so
|
||||
libm.lib.so
|
||||
meteor_libretro.lib.so
|
||||
retro_frontend
|
||||
stdcxx.lib.so
|
||||
} [audio_drv_binary] {
|
||||
game.gba
|
||||
}
|
||||
|
||||
@@ -12,16 +12,19 @@ if {[expr [have_include "power_on/qemu"] && !$force_qemu]} {
|
||||
set wget [check_installed wget]
|
||||
set unzip [check_installed unzip]
|
||||
|
||||
create_boot_directory
|
||||
|
||||
import_from_depot genodelabs/src/[base_src] \
|
||||
genodelabs/pkg/snes9x_libretro \
|
||||
genodelabs/src/fb_upscale \
|
||||
genodelabs/src/init \
|
||||
genodelabs/src/report_rom \
|
||||
genodelabs/src/retro_frontend \
|
||||
|
||||
set build_components {
|
||||
core init
|
||||
app/retro_frontend
|
||||
drivers/audio
|
||||
drivers/framebuffer
|
||||
drivers/input
|
||||
drivers/timer
|
||||
libretro/snes9x
|
||||
server/fb_upscale
|
||||
server/report_rom
|
||||
}
|
||||
|
||||
source ${genode_dir}/repos/base/run/platform_drv.inc
|
||||
@@ -39,8 +42,6 @@ append_platform_drv_build_components
|
||||
|
||||
build $build_components
|
||||
|
||||
create_boot_directory
|
||||
|
||||
#
|
||||
# Generate config
|
||||
#
|
||||
@@ -171,19 +172,8 @@ if {![file exist "bin/superbossgaiden.sfc"]} {
|
||||
|
||||
# generic modules
|
||||
append boot_modules {
|
||||
core init ld.lib.so
|
||||
} [audio_drv_binary] {
|
||||
core init ld.lib.so
|
||||
audio_drv
|
||||
fb_upscale
|
||||
libc.lib.so
|
||||
libm.lib.so
|
||||
report_rom
|
||||
retro_frontend
|
||||
stdcxx.lib.so
|
||||
snes9x_libretro.lib.so
|
||||
superbossgaiden.sfc
|
||||
timer
|
||||
} [audio_drv_binary] {
|
||||
}
|
||||
|
||||
# platform-specific modules
|
||||
|
||||
@@ -17,14 +17,11 @@ create_boot_directory
|
||||
import_from_depot \
|
||||
genodelabs/src/[base_src] \
|
||||
genodelabs/pkg/[drivers_interactive_pkg] \
|
||||
genodelabs/pkg/tyrquake_libretro \
|
||||
genodelabs/src/fb_upscale \
|
||||
genodelabs/src/init \
|
||||
genodelabs/src/report_rom \
|
||||
|
||||
build {
|
||||
app/retro_frontend
|
||||
libretro/tyrquake
|
||||
server/fb_upscale
|
||||
}
|
||||
genodelabs/src/retro_frontend \
|
||||
|
||||
#
|
||||
# Generate config
|
||||
@@ -131,13 +128,7 @@ if {![file exist "bin/quake.tar"]} {
|
||||
|
||||
# generic modules
|
||||
build_boot_image {
|
||||
fb_upscale
|
||||
libc.lib.so
|
||||
libm.lib.so
|
||||
quake.tar
|
||||
retro_frontend
|
||||
stdcxx.lib.so
|
||||
tyrquake_libretro.lib.so
|
||||
}
|
||||
|
||||
append qemu_args " -soundhw es1370 "
|
||||
|
||||
Reference in New Issue
Block a user