mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
BOARD: separate miyoo packages + concentrate RetroArch/libretro (#129)
MENU->Target packages ---> Miyoo Packages ---> ...
This commit is contained in:
7
package/miyoo/retroarch/libretro-wasm4/Config.in
Normal file
7
package/miyoo/retroarch/libretro-wasm4/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_LIBRETRO_WASM4
|
||||
bool "libretro-wasm4"
|
||||
depends on BR2_PACKAGE_RETROARCH
|
||||
help
|
||||
WASM-4 is a game console that builds games with WebAssembly.
|
||||
|
||||
https://github.com/aduros/wasm4
|
||||
27
package/miyoo/retroarch/libretro-wasm4/libretro-wasm4.mk
Normal file
27
package/miyoo/retroarch/libretro-wasm4/libretro-wasm4.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# WASM-4
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Commit of 2023/10/14
|
||||
LIBRETRO_WASM4_VERSION = e39d89d827ea6b5ae74e682a594d44d938966958
|
||||
LIBRETRO_WASM4_SITE = https://github.com/aduros/wasm4.git
|
||||
LIBRETRO_WASM4_SITE_METHOD = git
|
||||
LIBRETRO_WASM4_GIT_SUBMODULES = YES
|
||||
LIBRETRO_WASM4_LICENSE = ISC
|
||||
LIBRETRO_WASM4_LICENSE_FILES = LICENSE
|
||||
|
||||
LIBRETRO_WASM4_SUBDIR=runtimes/native
|
||||
|
||||
LIBRETRO_WASM4_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release
|
||||
LIBRETRO_WASM4_CONF_OPTS += -DLIBRETRO=1
|
||||
LIBRETRO_WASM4_CONF_OPTS += -DBUILD_LIBRETRO_CORE=ON
|
||||
|
||||
define LIBRETRO_WASM4_INSTALL_TARGET_CMDS
|
||||
mkdir -p "${BINARIES_DIR}/retroarch/cores"
|
||||
$(INSTALL) -D $(@D)/runtimes/native/wasm4_libretro.so \
|
||||
${BINARIES_DIR}/retroarch/cores/wasm4_libretro.so
|
||||
endef
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user