Move Libretro Tupfiles into upstream submodules
This commit is contained in:
parent
ea70c5db81
commit
0e8f9fcd91
|
@ -1,12 +0,0 @@
|
|||
include_rules
|
||||
|
||||
GIT_VERSION = `git describe --always`
|
||||
CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
|
||||
CFLAGS += -O2 -DNDEBUG
|
||||
|
||||
CORE_DIR = core
|
||||
include $(CORE_DIR)/Makefile.common
|
||||
CFLAGS += $(INCFLAGS)
|
||||
|
||||
include $(LIBRETRO_CORE_INCLUDE)
|
|
@ -0,0 +1,17 @@
|
|||
CORE_PKGS += libc
|
||||
|
||||
CFLAGS += -O3 -Wall -pedantic -std=gnu99
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |>
|
||||
: |> !publish_core |> {binary}
|
||||
|
||||
: $(TUP_CWD)/archives |> !publish_core_archives |> {package}
|
||||
: $(TUP_CWD)/runtime |> !publish_core_runtime |> {package}
|
||||
|
||||
ifdef DEPOT_KEY
|
||||
: {binary} |> !depot_bin_tarball |> {tarballs}
|
||||
: {package} |> !depot_pkg_tarball |> {tarballs}
|
||||
: foreach {tarballs} |> !public_signature |>
|
||||
endif
|
|
@ -1,4 +1,4 @@
|
|||
@SDK_USER@/src/vfs/@SDK_VERSION@
|
||||
@SDK_USER@/src/libc/@SDK_VERSION@
|
||||
@DEPOT_USER@/src/retro_frontend/@DEPOT_VERSION@
|
||||
@DEPOT_USER@/src/2048/@DEPOT_VERSION@
|
||||
@DEPOT_USER@/src/libretro-2048/@DEPOT_VERSION@
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 31ded2cad07b83e134b4cb3eed85c4e38753db8b
|
||||
Subproject commit 55674d14f6ddeba23e0ef5d07e070ff49ee29a0f
|
|
@ -0,0 +1,22 @@
|
|||
CORE_PKGS += stdcxx
|
||||
|
||||
CFLAGS += -O2 -DNDEBUG
|
||||
CFLAGS += -DHAVE_STDINT_H
|
||||
CFLAGS += -D__LIBRETRO__ -DHAVE_STDINT_H -DHAVE_INTTYPES_H
|
||||
CFLAGS += -DINLINE=inline -DVIDEO_RGB565
|
||||
CXXFLAGS += -std=gnu++11
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |>
|
||||
: |> !publish_core |> {binary}
|
||||
|
||||
: $(TUP_CWD)/archives |> !publish_core_archives |> {package}
|
||||
: $(TUP_CWD)/runtime |> !publish_core_runtime |> {package}
|
||||
|
||||
ifdef DEPOT_KEY
|
||||
: {binary} |> !depot_bin_tarball |> {tarballs}
|
||||
: {package} |> !depot_pkg_tarball |> {tarballs}
|
||||
: foreach {tarballs} |> !public_signature |>
|
||||
endif
|
|
@ -0,0 +1,5 @@
|
|||
@SDK_USER@/src/libc/@SDK_VERSION@
|
||||
@SDK_USER@/src/stdcxx/@SDK_VERSION@
|
||||
@SDK_USER@/src/vfs/@SDK_VERSION@
|
||||
@DEPOT_USER@/src/retro_frontend/@DEPOT_VERSION@
|
||||
@DEPOT_USER@/src/libretro-gambatte/@DEPOT_VERSION@
|
|
@ -1 +1 @@
|
|||
Subproject commit ffce1f0e93111bec77b3778273297536fcfb612a
|
||||
Subproject commit 3d329ed2e59e9d483e5fc8998657b563ac2c3bd6
|
|
@ -0,0 +1,40 @@
|
|||
<runtime ram="8M" caps="128" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<vfs>
|
||||
<fs/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<game/>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_X" to="A"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
Loading…
Reference in New Issue