genode-ehmry/libretro/cores/bluemsx/Tuprules.tup

52 lines
1003 B
Plaintext
Raw Normal View History

CORE_PKGS += stdcxx libc libm
NO_UNDEFINED =
2019-03-30 15:33:04 +01:00
LIBRETRO_COMM_DIR =
DEBUG = 0
LOG_PERFORMANCE = 0
HAVE_COMPAT = 0
ifeq ($(DEBUG), 1)
DEFINES += -O0 -g
else
DEFINES += -O2 -DHAVE_STDINT_H -DNDEBUG
CXXFLAGS += -fno-exceptions -fno-rtti
endif
ifeq ($(LOG_PERFORMANCE), 1)
DEFINES += -DLOG_PERFORMANCE
endif
include upstream/Makefile.common
DEFINES += $(COREDEFINES)
CFLAGS += -w
CXXFLAGS += -w
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
: {libretro_objs} |> !libretro_core_link |> {core}
2019-03-24 20:04:00 +01:00
: {core} |> !collect_bin |>
: |> !bin |>
2019-04-05 23:54:15 +02:00
ifndef CONFIG_NO_NETWORK
2019-03-30 15:33:04 +01:00
: |> 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 |>
2019-04-05 23:54:15 +02:00
endif
2019-03-30 15:33:04 +01:00
PKG_DEPENDS += \
2019-05-23 12:08:51 +02:00
@(PUBLIC_SRC_STDCXX) \
2019-03-30 15:33:04 +01:00
_/raw/bluemsx \
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
2019-03-24 20:04:00 +01:00
: |> !pkg |>