WiP Version management
This commit is contained in:
parent
1d8f8925eb
commit
fd08aacd2b
|
@ -50,7 +50,7 @@
|
||||||
path = libretro/cores/samples/upstream
|
path = libretro/cores/samples/upstream
|
||||||
url = https://github.com/libretro/libretro-samples
|
url = https://github.com/libretro/libretro-samples
|
||||||
[submodule "libretro/cores/dosbox/core"]
|
[submodule "libretro/cores/dosbox/core"]
|
||||||
path = libretro/cores/dosbox/upstream
|
path = libretro/cores/dosbox-libretro/upstream
|
||||||
url = https://github.com/libretro/dosbox-libretro
|
url = https://github.com/libretro/dosbox-libretro
|
||||||
[submodule "libretro/cores/mrboom/core"]
|
[submodule "libretro/cores/mrboom/core"]
|
||||||
path = libretro/cores/mrboom/upstream
|
path = libretro/cores/mrboom/upstream
|
||||||
|
|
37
Tupfile
37
Tupfile
|
@ -8,7 +8,7 @@ SHORT_SUM = b2sum -l24
|
||||||
|
|
||||||
: $(DEPOT_DIR)/<raw-archives> $(DEPOT_DIR)/<bin-archives> |> \
|
: $(DEPOT_DIR)/<raw-archives> $(DEPOT_DIR)/<bin-archives> |> \
|
||||||
for f in %<raw-archives> %<bin-archives>; do \
|
for f in %<raw-archives> %<bin-archives>; do \
|
||||||
awk -F '/' '{print "s|local/"$2"/"$3"|@(PUBLIC_USER)/"$2"/"$3"/"$4"|"}' $f >> %o; done; \
|
awk -F '/' '{print "s|local/"$2"/"$3"/current|@(PUBLIC_USER)/"$2"/"$3"/"$4"|"}' $f >> %o; done; \
|
||||||
|> $(VERSIONS_SED_FILE)
|
|> $(VERSIONS_SED_FILE)
|
||||||
# Generate a listing of all raw archives
|
# Generate a listing of all raw archives
|
||||||
|
|
||||||
|
@ -22,16 +22,16 @@ SHORT_SUM = b2sum -l24
|
||||||
|> $(BIN_LISTING)
|
|> $(BIN_LISTING)
|
||||||
# Generate a listing of all binary archives
|
# Generate a listing of all binary archives
|
||||||
|
|
||||||
: $(DEPOT_DIR)/<pkg-archives> |> \
|
: $(DEPOT_DIR)/<packages> |> ^ generate package version sed script^ \
|
||||||
$(SHORT_SUM) %<pkg-archives> | awk -F '/' \
|
for d in `dirname %<packages> | tr ' ' '\n' | sort -u`; do \
|
||||||
'/_ARCHIVES/ {print "s|_/pkg/"$4"/current|@(PUBLIC_USER)/pkg/"$4"/"substr($0,0,6)"|"}' > %o; \
|
echo $d/`cat $d/_ARCHIVES $d/runtime | $(SHORT_SUM)` | awk -F '/' \
|
||||||
|
'{print "s|local/pkg/"$4"/current|@(PUBLIC_USER)/pkg/"$4"/"substr($6,0,6)"|"}' >> %o; \
|
||||||
|
done \
|
||||||
|> $(PKG_SED_FILE)
|
|> $(PKG_SED_FILE)
|
||||||
# Generate sed commands for replacing package versions
|
# Generate sed commands for replacing package versions
|
||||||
|
|
||||||
: index.xml | pkg.sed |> sed -f pkg.sed %f | xz > %o \
|
: $(DEPOT_DIR)/<raw-archives> $(DEPOT_DIR)/<bin-archives> $(PKG_SED_FILE) |> \
|
||||||
|> public/@(PUBLIC_USER)/index/@(SCULPT_VERSION).xz
|
^ generate public makefile^ \
|
||||||
|
|
||||||
: $(DEPOT_DIR)/<raw-archives> $(DEPOT_DIR)/<bin-archives> $(DEPOT_DIR)/<pkg-archives> |> \
|
|
||||||
echo PUBLIC_USER=@(PUBLIC_USER) >> %o; \
|
echo PUBLIC_USER=@(PUBLIC_USER) >> %o; \
|
||||||
echo PUBLIC_ARCH=@(TUP_ARCH) >> %o; \
|
echo PUBLIC_ARCH=@(TUP_ARCH) >> %o; \
|
||||||
echo "all: public/@(PUBLIC_USER)/index/@(SCULPT_VERSION).xz.sig" >> %o; \
|
echo "all: public/@(PUBLIC_USER)/index/@(SCULPT_VERSION).xz.sig" >> %o; \
|
||||||
|
@ -43,21 +43,22 @@ SHORT_SUM = b2sum -l24
|
||||||
awk -F '/' -f errata/raw.mk.awk $f >> %o; done; \
|
awk -F '/' -f errata/raw.mk.awk $f >> %o; done; \
|
||||||
for f in %<bin-archives>; do \
|
for f in %<bin-archives>; do \
|
||||||
awk -F '/' -f errata/bin.mk.awk $f >> %o; done; \
|
awk -F '/' -f errata/bin.mk.awk $f >> %o; done; \
|
||||||
$(SHORT_SUM) %<pkg-archives> | awk -f errata/pkg.mk.awk >> %o; \
|
awk -F '/' -f errata/pkg.mk.awk $(PKG_SED_FILE) >> %o; done \
|
||||||
|> Makefile
|
|> Makefile
|
||||||
# Generate the makefile for creating signed package tarballs
|
# Generate the makefile for creating signed package tarballs
|
||||||
|
|
||||||
DEPOT_INDEX_FILE = $(DEPOT_DIR)/index/@(SCULPT_VERSION)
|
: index.xml | $(PKG_SED_FILE) |> ^ generate public index^ \
|
||||||
PUBLIC_INDEX_FILE = $(PUBLIC_DIR)/index/@(SCULPT_VERSION)
|
sed \
|
||||||
|
-e 's|_/pkg/\(\w*\)|local/pkg/\1/current|' \
|
||||||
|
-f $(PKG_SED_FILE) %f \
|
||||||
|
| xz > %o \
|
||||||
|
|> public/@(PUBLIC_USER)/index/@(SCULPT_VERSION).xz
|
||||||
|
|
||||||
AWK_RUNTIME_PATH = awk -v RS=' ' -F '/' \
|
AWK_RUNTIME_PATH = awk -v RS=' ' -F '/' \
|
||||||
'{print " <pkg path=\"local/pkg/"$4"/current\"/>"}'
|
'/runtime/ {print " <pkg path=\"local/pkg/"$4"/current\"/>"}'
|
||||||
|
|
||||||
: $(DEPOT_DIR)/<runtime> $(DEPOT_DIR)/<libretro-runtimes> |> ^ generate index^ \
|
: $(DEPOT_DIR)/<packages> |> ^ generate local index^ \
|
||||||
echo '<index>' > %o; \
|
echo '<index>' > %o; \
|
||||||
echo ' <index name="Libretro">' >> %o; \
|
echo %<packages> | $(AWK_RUNTIME_PATH) | sort >> %o; \
|
||||||
echo %<libretro-runtimes> | $(AWK_RUNTIME_PATH) >> %o; \
|
echo '</index>' >> %o |> $(DEPOT_DIR)/index/@(SCULPT_VERSION)
|
||||||
echo ' </index>' >> %o; \
|
|
||||||
echo %<runtime> | $(AWK_RUNTIME_PATH) >> %o; \
|
|
||||||
echo '</index>' >> %o |> $(DEPOT_INDEX_FILE) {index}
|
|
||||||
# Generate the depot index file
|
# Generate the depot index file
|
||||||
|
|
54
Tuprules.tup
54
Tuprules.tup
|
@ -1,39 +1,55 @@
|
||||||
|
ifeq ($(RAW_NAME),)
|
||||||
|
RAW_NAME = $(TARGET_NAME)
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BIN_NAME),)
|
||||||
|
BIN_NAME = $(TARGET_NAME)
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(PKG_NAME),)
|
||||||
|
PKG_NAME = $(TARGET_NAME)
|
||||||
|
endif
|
||||||
|
|
||||||
!raw = |> ^ COLLECT %o^ \
|
!raw = |> ^ COLLECT %o^ \
|
||||||
echo $(RAW_DEPENDS) local/raw/%d/$(raw_VERSION) | tr ' ' '\n' > %o; \
|
echo $(RAW_DEPENDS) local/raw/$(RAW_NAME)/$(RAW_VERSION) | tr ' ' '\n' > %o; \
|
||||||
echo local/raw/%d/$(RAW_VERSION) > %o \
|
echo local/raw/$(RAW_NAME)/$(RAW_VERSION) > %o \
|
||||||
|> $(DEPOT_RAW_DIR)/%d/current/_ARCHIVES $(DEPOT_DIR)/<raw-archives>
|
|> $(DEPOT_RAW_DIR)/$(RAW_NAME)/current/_ARCHIVES $(DEPOT_DIR)/<raw-archives>
|
||||||
|
|
||||||
!bin = |> ^ COLLECT %o^ \
|
!bin = |> ^ COLLECT %o^ \
|
||||||
echo $(BIN_DEPENDS) local/src/%d/$(BIN_VERSION) | tr ' ' '\n' > %o; \
|
echo $(BIN_DEPENDS) local/src/$(BIN_NAME)/$(BIN_VERSION) | tr ' ' '\n' > %o; \
|
||||||
|> $(DEPOT_BIN_DIR)/%d/current/_ARCHIVES $(DEPOT_DIR)/<bin-archives>
|
|> $(DEPOT_BIN_DIR)/$(BIN_NAME)/current/_ARCHIVES $(DEPOT_DIR)/<bin-archives>
|
||||||
|
|
||||||
AWK_LOCAL_ARCHIVES = awk -F '/' \
|
AWK_LOCAL_ARCHIVES = awk -F '/' \
|
||||||
'{if ($1 != "local") {print $0} \
|
'{if ($1 != "local") {print $0} \
|
||||||
else {print $1"/"$2"/"$3"/current"}}'
|
else {print $1"/"$2"/"$3"/current"}}'
|
||||||
|
|
||||||
!pkg = | $(VERSIONS_SED_FILE) |> ^ GENERATE %o^ \
|
!pkg = |> |>
|
||||||
echo $(PKG_DEPENDS) | tr ' ' '\n' \
|
|
||||||
> $(DEPOT_PKG_DIR)/%d/current/archives; \
|
|
||||||
sed -f $(VERSIONS_SED_FILE) $(DEPOT_PKG_DIR)/%d/current/archives \
|
|
||||||
> $(DEPOT_PKG_DIR)/%d/current/_ARCHIVES; \
|
|
||||||
|> $(DEPOT_PKG_DIR)/%d/current/archives $(DEPOT_PKG_DIR)/%d/current/_ARCHIVES \
|
|
||||||
$(DEPOT_DIR)/<pkg-archives>
|
|
||||||
# Generate depot/local/pkg/.../current/[archives|_ARCHIVES]
|
|
||||||
|
|
||||||
!collect_raw = |> ^ COLLECT %o^ \
|
!collect_raw = |> ^ COLLECT %o^ \
|
||||||
cp %f %o \
|
cp %f %o \
|
||||||
|> $(DEPOT_RAW_DIR)/%d/current/%b
|
|> $(DEPOT_RAW_DIR)/$(RAW_NAME)/current/%b
|
||||||
|
|
||||||
!collect_bin = |> ^ COLLECT %o^ \
|
!collect_bin = |> ^ COLLECT %o^ \
|
||||||
strip -o %o %f \
|
strip -o %o %f \
|
||||||
|> $(DEPOT_BIN_DIR)/%d/current/%b
|
|> $(DEPOT_BIN_DIR)/$(BIN_NAME)/current/%b
|
||||||
|
|
||||||
!collect_pkg_runtime = |> ^ VALIDATE %o^ \
|
!collect_pkg_runtime = | $(VERSIONS_SED_FILE) |> ^ packag $(PKG_NAME)^ \
|
||||||
xmllint -schema $(ERRATA_DIR)/runtime.xsd %f > %o \
|
xmllint -schema $(ERRATA_DIR)/runtime.xsd %f \
|
||||||
|> $(DEPOT_PKG_DIR)/%d/current/runtime $(DEPOT_DIR)/<runtime>
|
> $(DEPOT_PKG_DIR)/$(PKG_NAME)/current/runtime; \
|
||||||
|
echo $(PKG_DEPENDS) | tr ' ' '\n' | sed \
|
||||||
|
-e 's|_/\(.*\)/\(.*\)$|local/\1/\2/current|' \
|
||||||
|
> $(DEPOT_PKG_DIR)/$(PKG_NAME)/current/archives; \
|
||||||
|
sed -f $(VERSIONS_SED_FILE) $(DEPOT_PKG_DIR)/$(PKG_NAME)/current/archives \
|
||||||
|
> $(DEPOT_PKG_DIR)/$(PKG_NAME)/current/_ARCHIVES; \
|
||||||
|
|> \
|
||||||
|
$(DEPOT_PKG_DIR)/$(PKG_NAME)/current/archives \
|
||||||
|
$(DEPOT_PKG_DIR)/$(PKG_NAME)/current/_ARCHIVES \
|
||||||
|
$(DEPOT_PKG_DIR)/$(PKG_NAME)/current/runtime \
|
||||||
|
$(DEPOT_DIR)/<packages>
|
||||||
|
|
||||||
!collect_pkg = |> ^ COLLECT %o^ cp %f %o \
|
!collect_pkg = |> ^ COLLECT %o^ cp %f %o \
|
||||||
|> $(DEPOT_PKG_DIR)/%d/current/%b
|
|> $(DEPOT_PKG_DIR)/$(PKG_NAME)/current/%b \
|
||||||
|
$(DEPOT_DIR)/<packages>
|
||||||
|
|
||||||
VERSIONS_SED_FILE = $(TUP_CWD)/versions.sed
|
VERSIONS_SED_FILE = $(TUP_CWD)/versions.sed
|
||||||
PKG_SED_FILE = $(TUP_CWD)/pkg.sed
|
PKG_SED_FILE = $(TUP_CWD)/pkg.sed
|
||||||
|
|
|
@ -1,20 +1,13 @@
|
||||||
{ split($2,a,"/") }
|
{ ver=substr($7,0,6) }
|
||||||
|
{ tar="public/$(PUBLIC_USER)/pkg/"$6"/"ver".tar.xz" }
|
||||||
{ if (a[6] == "_ARCHIVES") {
|
|
||||||
|
|
||||||
{ src=a[1]"/"a[2]"/"a[3]"/"a[4]"/"a[5] }
|
|
||||||
{ tar="public/$(PUBLIC_USER)/pkg/"a[4]"/"$1".tar.xz" }
|
|
||||||
{ sig=tar".sig" }
|
{ sig=tar".sig" }
|
||||||
|
|
||||||
{ print "all: " tar ".sig" }
|
{ print "all: " tar ".sig" }
|
||||||
|
|
||||||
{ print tar": "$2" pkg.sed" }
|
{ print tar": depot/local/pkg/"$6"/current/_ARCHIVES pkg.sed" }
|
||||||
{ print " @echo tar $@" }
|
{ print " @echo tar $@" }
|
||||||
{ print " @mkdir -p "$1 }
|
{ print " @mkdir -p $(dir $@) "ver }
|
||||||
{ print " @sed -e 's|^local/|$(PUBLIC_USER)/|' -f pkg.sed $< > "$1"/archives" }
|
{ print " @cp $< "ver"/archives" }
|
||||||
{ print " @cp $(dir $<)/runtime "$1 }
|
{ print " @cp $(dir $<)/runtime "ver }
|
||||||
{ print " @mkdir -p $(dir $@)" }
|
{ print " @tar cfJ $@ "ver }
|
||||||
{ print " @tar cfJ $@ "$1 }
|
{ print " @rm -r "ver }
|
||||||
{ print " @rm -r "$1 }
|
|
||||||
|
|
||||||
}}
|
|
||||||
|
|
|
@ -10,5 +10,5 @@ include upstream/Makefile.common
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
|
@ -13,7 +13,7 @@ DEFINES += \
|
||||||
|
|
||||||
include upstream/Makefile.common
|
include upstream/Makefile.common
|
||||||
|
|
||||||
CFLAGS += $(FLAGS)
|
DEFINES += $(FLAGS)
|
||||||
|
|
||||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||||
|
|
||||||
|
@ -21,5 +21,4 @@ CFLAGS += $(FLAGS)
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
|
||||||
|
|
|
@ -1,43 +1,9 @@
|
||||||
DEPOT_NAME = $(TARGET_NAME)
|
# Implicit dependencies
|
||||||
|
|
||||||
!raw = |> ^ COLLECT %o^ \
|
|
||||||
echo local/raw/$(TARGET_NAME)/$(RAW_VERSION) > %o \
|
|
||||||
|> $(DEPOT_RAW_DIR)/$(DEPOT_NAME)/current/_ARCHIVES $(DEPOT_DIR)/<raw-archives>
|
|
||||||
|
|
||||||
!bin = |> ^ COLLECT %o^ \
|
|
||||||
echo $(REMOTE_DEPENDS) local/src/libretro-$(DEPOT_NAME)/$(BIN_VERSION) | tr ' ' '\n' > %o; \
|
|
||||||
|> $(DEPOT_BIN_DIR)/libretro-$(DEPOT_NAME)/current/_ARCHIVES $(DEPOT_DIR)/<bin-archives>
|
|
||||||
|
|
||||||
!pkg = | $(VERSIONS_SED_FILE) |> ^ GENERATE %o^ \
|
|
||||||
echo $(PKG_DEPENDS) | tr ' ' '\n' \
|
|
||||||
> $(DEPOT_PKG_DIR)/$(DEPOT_NAME)/current/archives; \
|
|
||||||
sed -f $(VERSIONS_SED_FILE) $(DEPOT_PKG_DIR)/$(DEPOT_NAME)/current/archives \
|
|
||||||
> $(DEPOT_PKG_DIR)/$(DEPOT_NAME)/current/_ARCHIVES; \
|
|
||||||
! grep ^local/ $(DEPOT_PKG_DIR)/$(DEPOT_NAME)/current/_ARCHIVES; \
|
|
||||||
|> $(DEPOT_PKG_DIR)/$(DEPOT_NAME)/current/archives $(DEPOT_PKG_DIR)/$(DEPOT_NAME)/current/_ARCHIVES \
|
|
||||||
$(DEPOT_DIR)/<pkg-archives>
|
|
||||||
# Generate depot/local/pkg/.../current/[archives|_ARCHIVES]
|
|
||||||
|
|
||||||
PKG_DEPENDS += \
|
PKG_DEPENDS += \
|
||||||
@(SDK_USER)/src/vfs/@(SDK_VERSION) \
|
@(SDK_USER)/src/vfs/@(SDK_VERSION) \
|
||||||
@(SDK_USER)/src/libc/@(SDK_VERSION) \
|
@(SDK_USER)/src/libc/@(SDK_VERSION) \
|
||||||
local/src/libretro-$(DEPOT_NAME) \
|
_/src/$(BIN_NAME) \
|
||||||
local/src/retro_frontend \
|
_/src/retro_frontend \
|
||||||
|
|
||||||
# Implicit dependencies
|
|
||||||
|
|
||||||
!collect_raw = |> ^ COLLECT %o^ \
|
|
||||||
cp %f %o \
|
|
||||||
|> $(DEPOT_RAW_DIR)/$(DEPOT_NAME)/current/%b
|
|
||||||
|
|
||||||
!collect_bin = |> ^ COLLECT %o^ \
|
|
||||||
strip -o %o %f \
|
|
||||||
|> $(DEPOT_BIN_DIR)/libretro-$(DEPOT_NAME)/current/%b
|
|
||||||
|
|
||||||
!collect_runtime = |> ^ VALIDATE %o^ \
|
|
||||||
xmllint -schema $(ERRATA_DIR)/runtime.xsd %f > %o \
|
|
||||||
|> $(DEPOT_PKG_DIR)/$(DEPOT_NAME)/current/runtime \
|
|
||||||
$(DEPOT_DIR)/<libretro-runtimes>
|
|
||||||
|
|
||||||
!libretro_cc = |> ^ CC %f^ \
|
!libretro_cc = |> ^ CC %f^ \
|
||||||
$(CC) \
|
$(CC) \
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
# TODO:
|
|
||||||
# this core requires the two folders named Machines/ and Databases/ from standalone blueMSX
|
|
||||||
# copied inside your frontend's system directory. See upstream/README.md
|
|
||||||
|
|
||||||
CORE_PKGS += stdcxx libc libm
|
CORE_PKGS += stdcxx libc libm
|
||||||
NO_UNDEFINED =
|
NO_UNDEFINED =
|
||||||
|
|
||||||
|
LIBRETRO_COMM_DIR =
|
||||||
|
|
||||||
DEBUG = 0
|
DEBUG = 0
|
||||||
LOG_PERFORMANCE = 0
|
LOG_PERFORMANCE = 0
|
||||||
HAVE_COMPAT = 0
|
HAVE_COMPAT = 0
|
||||||
|
@ -34,5 +32,18 @@ CXXFLAGS += -w
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
: |> wget --quiet http://bluemsx.msxblue.com/rel_download/%o |> blueMSXv282.zip {zip}
|
||||||
|
|
||||||
|
: {zip} \
|
||||||
|
|> unzip %f -d tmp ; tar cf %o -C tmp Machines Databases ; rm -r tmp \
|
||||||
|
|> blueMSX.tar {tar}
|
||||||
|
|
||||||
|
: {tar} |> !collect_raw |>
|
||||||
|
: |> !raw |>
|
||||||
|
|
||||||
|
PKG_DEPENDS += \
|
||||||
|
@(SDK_USER)/src/stdcxx/@(SDK_VERSION) \
|
||||||
|
_/raw/bluemsx \
|
||||||
|
|
||||||
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
|
@ -14,7 +14,7 @@ SOURCES_CXX += $(LIBRETRO_COMM_DIR)/libco/genode.cpp
|
||||||
DEFINES += -O2 -DNDEBUG -D__GENODE__
|
DEFINES += -O2 -DNDEBUG -D__GENODE__
|
||||||
CFLAGS += $(COMMONFLAGS)
|
CFLAGS += $(COMMONFLAGS)
|
||||||
|
|
||||||
CXXFLAGS += -DHAVE_MMAP
|
DEFINES += -DHAVE_MMAP
|
||||||
# Use anonymous mmap to allocate executable memory pages
|
# Use anonymous mmap to allocate executable memory pages
|
||||||
|
|
||||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||||
|
@ -24,5 +24,8 @@ CXXFLAGS += -DHAVE_MMAP
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
PKG_DEPENDS += \
|
||||||
|
@(SDK_USER)/src/stdcxx/@(SDK_VERSION) \
|
||||||
|
|
||||||
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 6dc49e4356c78ae097fa39d5e3ccb7e50215d4bd
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit bb615dc8ac6279185fc52fb05f32f397d715df02
|
|
|
@ -15,5 +15,5 @@ DEFINES += -Wno-write-strings
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
|
@ -2,12 +2,11 @@ CORE_PKGS += stdcxx
|
||||||
NO_UNDEFINED =
|
NO_UNDEFINED =
|
||||||
|
|
||||||
LIBRETRO_COMM_DIR =
|
LIBRETRO_COMM_DIR =
|
||||||
# TODO: update LIBRETRO_COMM_DIR
|
|
||||||
|
|
||||||
CFLAGS += -O2 -DNDEBUG
|
DEFINES += -O2 -DNDEBUG
|
||||||
CFLAGS += -DHAVE_STDINT_H
|
DEFINES += -DHAVE_STDINT_H
|
||||||
CFLAGS += -D__LIBRETRO__ -DHAVE_STDINT_H -DHAVE_INTTYPES_H
|
DEFINES += -D__LIBRETRO__ -DHAVE_STDINT_H -DHAVE_INTTYPES_H
|
||||||
CFLAGS += -DINLINE=inline -DVIDEO_RGB565
|
DEFINES += -DINLINE=inline -DVIDEO_RGB565
|
||||||
|
|
||||||
include upstream/Makefile.common
|
include upstream/Makefile.common
|
||||||
|
|
||||||
|
@ -18,5 +17,7 @@ include upstream/Makefile.common
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
PKG_DEPENDS += @(SDK_USER)/src/stdcxx/@(SDK_VERSION)
|
||||||
|
|
||||||
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
|
@ -14,5 +14,8 @@ CFLAGS += $(INCLUDES)
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
PKG_DEPENDS += \
|
||||||
|
@(SDK_USER)/src/stdcxx/@(SDK_VERSION) \
|
||||||
|
|
||||||
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
|
@ -21,5 +21,5 @@ include upstream/Makefile.common
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
CORE_PKGS += libc libm
|
||||||
|
|
||||||
|
LIBRETRO_COMM_DIR =
|
||||||
|
|
||||||
|
DEFINES += -O2 -DNDEBUG
|
||||||
|
DEFINES += -DINLINE=inline
|
||||||
|
|
||||||
|
include upstream/libretroBuildSystem/build/Makefile.common
|
||||||
|
include upstream/src/makefile.all
|
||||||
|
SOURCES_C += $(EMU_SOURCES_C)
|
||||||
|
|
||||||
|
DEFINES += $(COREDEFINES)
|
||||||
|
DEFINES += $(INCFLAGS)
|
||||||
|
|
||||||
|
CFLAGS += -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized
|
||||||
|
CFLAGS += -fomit-frame-pointer
|
||||||
|
|
||||||
|
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||||
|
|
||||||
|
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||||
|
: {core} |> !collect_bin |>
|
||||||
|
|
||||||
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
|
|
||||||
|
: |> !bin |>
|
||||||
|
: |> !pkg |>
|
|
@ -0,0 +1,24 @@
|
||||||
|
<runtime ram="32M" caps="256" binary="retro_frontend">
|
||||||
|
|
||||||
|
<requires> <file_system/> <nitpicker/> </requires>
|
||||||
|
|
||||||
|
<content>
|
||||||
|
<rom label="libc.lib.so"/>
|
||||||
|
<rom label="libm.lib.so"/>
|
||||||
|
<rom label="libretro.so"/>
|
||||||
|
<rom label="retro_frontend"/>
|
||||||
|
<rom label="vfs.lib.so"/>
|
||||||
|
</content>
|
||||||
|
|
||||||
|
<config ld_vebose="yes">
|
||||||
|
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||||
|
<game/>
|
||||||
|
<vfs>
|
||||||
|
<fs/>
|
||||||
|
<dir name="dev">
|
||||||
|
<log label="core"/>
|
||||||
|
</dir>
|
||||||
|
</vfs>
|
||||||
|
</config>
|
||||||
|
|
||||||
|
</runtime>
|
|
@ -1,4 +1,4 @@
|
||||||
CORE_PKGS += stdcxx libc libm
|
CORE_PKGS += libc libm
|
||||||
NO_UNDEFINED =
|
NO_UNDEFINED =
|
||||||
# __cxa_...
|
# __cxa_...
|
||||||
|
|
||||||
|
@ -18,5 +18,5 @@ CXXFLAGS += -fno-rtti -fno-exceptions
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
|
@ -13,5 +13,8 @@ include upstream/Libretro/Makefile.common
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
PKG_DEPENDS += \
|
||||||
|
_/raw/oberon \
|
||||||
|
|
||||||
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
|
@ -13,55 +13,55 @@ ifeq ($(TARGET_NAME),testaudio_callback)
|
||||||
CFLAGS += -I../../libretro-common/include
|
CFLAGS += -I../../libretro-common/include
|
||||||
SOURCES_C += libretro-test.c
|
SOURCES_C += libretro-test.c
|
||||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
: $(TUP_CWD)/audio.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/audio.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),testaudio_no_callback)
|
ifeq ($(TARGET_NAME),testaudio_no_callback)
|
||||||
CFLAGS += -I../../libretro-common/include
|
CFLAGS += -I../../libretro-common/include
|
||||||
SOURCES_C += libretro-test.c
|
SOURCES_C += libretro-test.c
|
||||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
: $(TUP_CWD)/audio.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/audio.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),testaudio_playback_wav)
|
ifeq ($(TARGET_NAME),testaudio_playback_wav)
|
||||||
CFLAGS += -I../../libretro-common/include
|
CFLAGS += -I../../libretro-common/include
|
||||||
SOURCES_C += libretro-test.c
|
SOURCES_C += libretro-test.c
|
||||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
: $(TUP_CWD)/audio.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/audio.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),button_test)
|
ifeq ($(TARGET_NAME),button_test)
|
||||||
CFLAGS += -Ilibretro-common/include
|
CFLAGS += -Ilibretro-common/include
|
||||||
SOURCES_C += libretro.c
|
SOURCES_C += libretro.c
|
||||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
: $(TUP_CWD)/simple.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),freebasic)
|
ifeq ($(TARGET_NAME),freebasic)
|
||||||
TARGET_NAME=
|
TARGET_NAME=
|
||||||
# : fbastest.bas |> fbc -dll %f -x %o |> libretro.so {core}
|
# : fbastest.bas |> fbc -dll %f -x %o |> libretro.so {core}
|
||||||
# PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
# PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
# : $(TUP_CWD)/simple.runtime |> !collect_runtime |>
|
# : $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),pascal_pong)
|
ifeq ($(TARGET_NAME),pascal_pong)
|
||||||
TARGET_NAME=
|
TARGET_NAME=
|
||||||
# : pong.pas |> fpc -o%o %f |> libretro.so {core}
|
# : pong.pas |> fpc -o%o %f |> libretro.so {core}
|
||||||
# PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
# PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
# : $(TUP_CWD)/simple.runtime |> !collect_runtime |>
|
# : $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),midi_test)
|
ifeq ($(TARGET_NAME),midi_test)
|
||||||
SOURCES_C += libretro.c
|
SOURCES_C += libretro.c
|
||||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
: $(TUP_CWD)/midi.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/midi.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),test)
|
ifeq ($(TARGET_NAME),test)
|
||||||
CFLAGS += -I../../libretro-common/include
|
CFLAGS += -I../../libretro-common/include
|
||||||
SOURCES_C += libretro-test.c
|
SOURCES_C += libretro-test.c
|
||||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
: $(TUP_CWD)/simple.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),cruzes)
|
ifeq ($(TARGET_NAME),cruzes)
|
||||||
|
@ -70,14 +70,14 @@ ifeq ($(TARGET_NAME),cruzes)
|
||||||
# : obj/Carlito-Regular.ttf |> ttf2c 16 font16 %f %o |> font16.h
|
# : obj/Carlito-Regular.ttf |> ttf2c 16 font16 %f %o |> font16.h
|
||||||
# : obj/Carlito-Regular.ttf |> ttf2c 10 font10 %f %o |> font10.h
|
# : obj/Carlito-Regular.ttf |> ttf2c 10 font10 %f %o |> font10.h
|
||||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
: $(TUP_CWD)/simple.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),advanced_tests)
|
ifeq ($(TARGET_NAME),advanced_tests)
|
||||||
CFLAGS += -I../../libretro-common/include
|
CFLAGS += -I../../libretro-common/include
|
||||||
SOURCES_C += libretro-test.c
|
SOURCES_C += libretro-test.c
|
||||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
: $(TUP_CWD)/audio.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/audio.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),testgl_compute_shaders)
|
ifeq ($(TARGET_NAME),testgl_compute_shaders)
|
||||||
|
@ -90,7 +90,7 @@ ifeq ($(TARGET_NAME),testgl_compute_shaders)
|
||||||
SOURCES_C += glsym/glsym_gl.c
|
SOURCES_C += glsym/glsym_gl.c
|
||||||
|
|
||||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
: $(TUP_CWD)/testgl.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/testgl.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),testgl_ff)
|
ifeq ($(TARGET_NAME),testgl_ff)
|
||||||
|
@ -98,7 +98,7 @@ ifeq ($(TARGET_NAME),testgl_ff)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
SOURCES_C += libretro_gl_ff_test.c glsym/rglgen.c glsym/glsym_gl.c
|
SOURCES_C += libretro_gl_ff_test.c glsym/rglgen.c glsym/glsym_gl.c
|
||||||
PKG_DEPENDS += $(GL_DEPENDS)
|
PKG_DEPENDS += $(GL_DEPENDS)
|
||||||
: $(TUP_CWD)/testgl.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/testgl.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),testgl)
|
ifeq ($(TARGET_NAME),testgl)
|
||||||
|
@ -109,35 +109,35 @@ ifeq ($(TARGET_NAME),testgl)
|
||||||
SOURCES_C += glsym/glsym_gl.c
|
SOURCES_C += glsym/glsym_gl.c
|
||||||
|
|
||||||
PKG_DEPENDS += $(GL_DEPENDS)
|
PKG_DEPENDS += $(GL_DEPENDS)
|
||||||
: $(TUP_CWD)/testgl.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/testgl.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),testsw)
|
ifeq ($(TARGET_NAME),testsw)
|
||||||
CFLAGS += -I../../libretro-common/include
|
CFLAGS += -I../../libretro-common/include
|
||||||
SOURCES_C += libretro-test.c
|
SOURCES_C += libretro-test.c
|
||||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
: $(TUP_CWD)/simple.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),testsw_vram)
|
ifeq ($(TARGET_NAME),testsw_vram)
|
||||||
CFLAGS += -I../../libretro-common/include
|
CFLAGS += -I../../libretro-common/include
|
||||||
SOURCES_C += libretro-test.c
|
SOURCES_C += libretro-test.c
|
||||||
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
PKG_DEPENDS += $(SIMPLE_DEPENDS)
|
||||||
: $(TUP_CWD)/simple.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/simple.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),testvulkan_async_compute)
|
ifeq ($(TARGET_NAME),testvulkan_async_compute)
|
||||||
CFLAGS += -I../../libretro-common/include -Iinclude
|
CFLAGS += -I../../libretro-common/include -Iinclude
|
||||||
SOURCES_C += libretro-test.c vulkan_symbol_wrapper.c
|
SOURCES_C += libretro-test.c vulkan_symbol_wrapper.c
|
||||||
PKG_DEPENDS += $(GL_DEPENDS)
|
PKG_DEPENDS += $(GL_DEPENDS)
|
||||||
: $(TUP_CWD)/testgl.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/testgl.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_NAME),testvulkan)
|
ifeq ($(TARGET_NAME),testvulkan)
|
||||||
CFLAGS += -I../../libretro-common/include -Iinclude
|
CFLAGS += -I../../libretro-common/include -Iinclude
|
||||||
SOURCES_C += libretro-test.c vulkan_symbol_wrapper.c
|
SOURCES_C += libretro-test.c vulkan_symbol_wrapper.c
|
||||||
PKG_DEPENDS += $(GL_DEPENDS)
|
PKG_DEPENDS += $(GL_DEPENDS)
|
||||||
: $(TUP_CWD)/testgl.runtime |> !collect_runtime |>
|
: $(TUP_CWD)/testgl.runtime |> !collect_pkg_runtime |>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(TARGET_NAME),)
|
ifneq ($(TARGET_NAME),)
|
||||||
|
@ -147,7 +147,7 @@ ifneq ($(TARGET_NAME),)
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
#: README.md |> !collect_runtime |>
|
#: README.md |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -18,5 +18,8 @@ CXXFLAGS += -DRIGHTSHIFT_IS_SAR -D__LIBRETRO__ -DALLOW_CPU_OVERCLOCK
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
PKG_DEPENDS += \
|
||||||
|
@(SDK_USER)/src/stdcxx/@(SDK_VERSION) \
|
||||||
|
|
||||||
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
|
@ -26,5 +26,8 @@ include upstream/Makefile.common
|
||||||
: {core} |> !collect_bin |>
|
: {core} |> !collect_bin |>
|
||||||
: |> !bin |>
|
: |> !bin |>
|
||||||
|
|
||||||
: $(TUP_CWD)/runtime |> !collect_runtime |>
|
PKG_DEPENDS += \
|
||||||
|
ehmry/raw/quake_shareware/1.06 \
|
||||||
|
|
||||||
|
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
|
TARGET_NAME = backdrop
|
||||||
|
|
||||||
PKG_DEPENDS += \
|
PKG_DEPENDS += \
|
||||||
nfeske/pkg/backdrop/2019-02-22 \
|
nfeske/pkg/backdrop/2019-02-22 \
|
||||||
local/raw/backdrop \
|
_/raw/backdrop \
|
||||||
|
|
||||||
include_rules
|
include_rules
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@ PKG_DEPENDS += \
|
||||||
@(SDK_USER)/src/vfs/@(SDK_VERSION) \
|
@(SDK_USER)/src/vfs/@(SDK_VERSION) \
|
||||||
@(SDK_USER)/src/libc/@(SDK_VERSION) \
|
@(SDK_USER)/src/libc/@(SDK_VERSION) \
|
||||||
@(SDK_USER)/src/stdcxx/@(SDK_VERSION) \
|
@(SDK_USER)/src/stdcxx/@(SDK_VERSION) \
|
||||||
local/src/libretro-nxengine \
|
_/src/nxengine \
|
||||||
local/src/retro_frontend \
|
_/src/retro_frontend \
|
||||||
|
|
||||||
: ../runtime |> !collect_pkg |>
|
: ../runtime |> !collect_pkg_runtime |>
|
||||||
: |> !pkg |>
|
: |> !pkg |>
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
ifndef CONFIG_NO_NETWORK
|
ifndef CONFIG_NO_NETWORK
|
||||||
|
|
||||||
|
TARGET_NAME = cave_story-en
|
||||||
|
|
||||||
PKG_DEPENDS += \
|
PKG_DEPENDS += \
|
||||||
local/raw/cave_story-en \
|
_/raw/cave_story-en \
|
||||||
|
|
||||||
include_rules
|
include_rules
|
||||||
|
|
||||||
: |> wget --quiet https://www.cavestory.org/downloads/%o |> cavestoryen.zip {zip}
|
: |> wget --quiet https://www.cavestory.org/downloads/%o |> cavestoryen.zip {zip}
|
||||||
|
|
||||||
|
|
||||||
: {zip} |> unzip -qD %f -d tmp ; tar cf %o -C tmp/CaveStory . ; rm -r tmp |> doukutsu.tar {tar}
|
: {zip} |> unzip -qD %f -d tmp ; tar cf %o -C tmp/CaveStory . ; rm -r tmp |> doukutsu.tar {tar}
|
||||||
|
|
||||||
RAW_VERSION = 2004.12
|
RAW_VERSION = 2004.12
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
|
TARGET_NAME = depot_9P
|
||||||
|
|
||||||
PKG_DEPENDS += \
|
PKG_DEPENDS += \
|
||||||
@(SDK_USER)/src/libc/@(SDK_VERSION) \
|
@(SDK_USER)/src/libc/@(SDK_VERSION) \
|
||||||
@(SDK_USER)/src/vfs/@(SDK_VERSION) \
|
@(SDK_USER)/src/vfs/@(SDK_VERSION) \
|
||||||
@(PUBLIC_SRC_LWIP) \
|
@(PUBLIC_SRC_LWIP) \
|
||||||
local/src/ninep \
|
_/src/ninep \
|
||||||
|
|
||||||
include_rules
|
include_rules
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
TARGET_NAME = fetch-nixos
|
||||||
|
|
||||||
PKG_DEPENDS += \
|
PKG_DEPENDS += \
|
||||||
@(SDK_USER)/src/init/@(SDK_VERSION) \
|
@(SDK_USER)/src/init/@(SDK_VERSION) \
|
||||||
@(SDK_USER)/src/libc/@(SDK_VERSION) \
|
@(SDK_USER)/src/libc/@(SDK_VERSION) \
|
||||||
|
@ -10,8 +12,8 @@ PKG_DEPENDS += \
|
||||||
genodelabs/src/report_rom/2019-02-25 \
|
genodelabs/src/report_rom/2019-02-25 \
|
||||||
ehmry/src/vfs_lwip/2019-03-04 \
|
ehmry/src/vfs_lwip/2019-03-04 \
|
||||||
genodelabs/src/zlib/2019-02-25 \
|
genodelabs/src/zlib/2019-02-25 \
|
||||||
local/raw/fetch-nixos/ \
|
_/raw/fetch-nixos/ \
|
||||||
local/src/fetch_and_copy \
|
_/src/fetch_and_copy \
|
||||||
|
|
||||||
include_rules
|
include_rules
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ PKG_DEPENDS += \
|
||||||
@(UPSTREAM_USER)/src/mp3_audio_sink/@(DEPOT_VERSION) \
|
@(UPSTREAM_USER)/src/mp3_audio_sink/@(DEPOT_VERSION) \
|
||||||
@(UPSTREAM_USER)/src/vfs_lwip/@(UPSTREAM_VERSION) \
|
@(UPSTREAM_USER)/src/vfs_lwip/@(UPSTREAM_VERSION) \
|
||||||
@(UPSTREAM_USER)/src/zlib/@(UPSTREAM_VERSION) \
|
@(UPSTREAM_USER)/src/zlib/@(UPSTREAM_VERSION) \
|
||||||
local/src/icy_client \
|
_/src/icy_client \
|
||||||
|
|
||||||
: ../runtime.in |> sed 's|@STREAM_URL@|$(STREAM_URL)|' %f > %o |> runtime
|
: ../runtime.in |> sed 's|@STREAM_URL@|$(STREAM_URL)|' %f > %o |> runtime
|
||||||
: runtime |> !collect_pkg_runtime |>
|
: runtime |> !collect_pkg_runtime |>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
TARGET_NAME = ifm1
|
||||||
STREAM_URL = http://radio.intergalactic.fm:80/1
|
STREAM_URL = http://radio.intergalactic.fm:80/1
|
||||||
include_rules
|
include_rules
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
TARGET_NAME = ifm2
|
||||||
STREAM_URL = http://radio.intergalactic.fm:80/2
|
STREAM_URL = http://radio.intergalactic.fm:80/2
|
||||||
include_rules
|
include_rules
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
TARGET_NAME = ifm3
|
||||||
STREAM_URL = http://radio.intergalactic.fm:80/3
|
STREAM_URL = http://radio.intergalactic.fm:80/3
|
||||||
include_rules
|
include_rules
|
||||||
|
|
|
@ -1,16 +1,27 @@
|
||||||
ifndef CONFIG_NO_NETWORK
|
ifndef CONFIG_NO_NETWORK
|
||||||
|
|
||||||
|
TARGET_NAME = soyuz
|
||||||
|
|
||||||
|
PKG_DEPENDS += \
|
||||||
|
@(SDK_USER)/src/vfs/@(SDK_VERSION) \
|
||||||
|
@(SDK_USER)/src/libc/@(SDK_VERSION) \
|
||||||
|
@(SDK_USER)/src/stdcxx/@(SDK_VERSION) \
|
||||||
|
_/src/dosbox-libretro \
|
||||||
|
_/src/retro_frontend \
|
||||||
|
_/raw/soyuz \
|
||||||
|
|
||||||
include_rules
|
include_rules
|
||||||
|
|
||||||
: |> wget --quiet https://ce.gl/ports/dist/soyuz/%o |> soyuz.zip
|
: |> wget --quiet https://ce.gl/ports/dist/soyuz/%o |> soyuz.zip {zip}
|
||||||
|
|
||||||
: soyuz.zip \
|
: {zip} \
|
||||||
|> unzip %f -d soyuz ; tar cf %o dosbox.conf soyuz ; rm -r soyuz \
|
|> unzip %f -d soyuz ; tar cf %o dosbox.conf soyuz ; rm -r soyuz \
|
||||||
|> $(DEPOT_RAW_DIR)/%d/@(DEPOT_VERSION)/soyuz.tar {raw}
|
|> soyuz.tar {tar}
|
||||||
|
|
||||||
: runtime |> !runtime_to_depot |> {package}
|
: {tar} |> !collect_raw |>
|
||||||
: archives |> !archives_to_depot |> {package}
|
: |> !raw |>
|
||||||
|
|
||||||
: {package} |> !publish_pkg |>
|
: runtime |> !collect_pkg_runtime |>
|
||||||
: {raw} |> !publish_raw |>
|
: |> !pkg |>
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
@SDK_USER@/src/vfs/@SDK_VERSION@
|
|
||||||
@SDK_USER@/src/libc/@SDK_VERSION@
|
|
||||||
@SDK_USER@/src/stdcxx/@SDK_VERSION@
|
|
||||||
@DEPOT_USER@/src/libretro-dosbox/@DEPOT_VERSION@
|
|
||||||
@DEPOT_USER@/src/retro_frontend/@DEPOT_VERSION@
|
|
||||||
@DEPOT_USER@/raw/soyuz/@DEPOT_VERSION@
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
TARGET_NAME = templeos
|
||||||
|
|
||||||
include_rules
|
include_rules
|
||||||
|
|
||||||
PKG_DEPENDS += \
|
PKG_DEPENDS += \
|
||||||
|
|
|
@ -1,4 +1,15 @@
|
||||||
ifndef CONFIG_NO_NETWORK
|
ifndef CONFIG_NO_NETWORK
|
||||||
|
|
||||||
|
TARGET_NAME = topbench
|
||||||
|
|
||||||
|
PKG_DEPENDS += \
|
||||||
|
@(SDK_USER)/src/vfs/@(SDK_VERSION) \
|
||||||
|
@(SDK_USER)/src/libc/@(SDK_VERSION) \
|
||||||
|
@(SDK_USER)/src/stdcxx/@(SDK_VERSION) \
|
||||||
|
_/src/dosbox-libretro \
|
||||||
|
_/src/retro_frontend \
|
||||||
|
_/raw/topbench \
|
||||||
|
|
||||||
include_rules
|
include_rules
|
||||||
|
|
||||||
: |> wget --quiet https://github.com/MobyGamer/TOPBENCH/releases/download/0.38.h/%o |> TOPBV38H.ZIP {zip}
|
: |> wget --quiet https://github.com/MobyGamer/TOPBENCH/releases/download/0.38.h/%o |> TOPBV38H.ZIP {zip}
|
||||||
|
@ -7,10 +18,10 @@ include_rules
|
||||||
|> unzip -L %f -d tmp ; tar cf %o -C tmp . ; rm -r tmp \
|
|> unzip -L %f -d tmp ; tar cf %o -C tmp . ; rm -r tmp \
|
||||||
|> $(DEPOT_RAW_DIR)/%d/@(DEPOT_VERSION)/TOPBV38H.tar {raw}
|
|> $(DEPOT_RAW_DIR)/%d/@(DEPOT_VERSION)/TOPBV38H.tar {raw}
|
||||||
|
|
||||||
: runtime |> !runtime_to_depot |> {package}
|
: {zip} |> !collect_raw |>
|
||||||
: archives |> !archives_to_depot |> {package}
|
: |> !raw |>
|
||||||
|
|
||||||
: {package} |> !publish_pkg |>
|
: runtime |> !collect_pkg_runtime |>
|
||||||
: {raw} |> !publish_raw |>
|
: |> !pkg |>
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
@SDK_USER@/src/vfs/@SDK_VERSION@
|
|
||||||
@SDK_USER@/src/libc/@SDK_VERSION@
|
|
||||||
@SDK_USER@/src/stdcxx/@SDK_VERSION@
|
|
||||||
@DEPOT_USER@/src/libretro-dosbox/@DEPOT_VERSION@
|
|
||||||
@DEPOT_USER@/src/retro_frontend/@DEPOT_VERSION@
|
|
||||||
@DEPOT_USER@/raw/topbench/@DEPOT_VERSION@
|
|
Loading…
Reference in New Issue