Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

20
package/stella/Config.in Normal file
View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_STELLA
bool "stella"
depends on !BR2_STATIC_LIBS # sdl2
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
select BR2_PACKAGE_SDL2
help
Stella is a multi-platform Atari 2600 VCS emulator.
https://stella-emu.github.io/
comment "stella needs a toolchain w/ dynamic library, C++, threads, gcc >= 7"
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_7
comment "stella needs a toolchain not affected by GCC bug 64735"
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735

View File

@@ -0,0 +1,4 @@
# Locally computed:
sha256 9ef880df87f2d3ffebfbad915247d1fd5a3aca41dfd6a754dcf7a142ac826752 stella-6.7.1-src.tar.xz
sha256 e82dd017fea2c70a16726aa1d7c05c5b7597e10f7229511c1b110bf84cb507c0 Copyright.txt
sha256 58530d09b6fcb91ae27071be0081af90e6c2d7fdf991d34a29e234a2a5e75455 License.txt

52
package/stella/stella.mk Normal file
View File

@@ -0,0 +1,52 @@
################################################################################
#
# stella
#
################################################################################
STELLA_VERSION = 6.7.1
STELLA_SOURCE = stella-$(STELLA_VERSION)-src.tar.xz
STELLA_SITE = https://github.com/stella-emu/stella/releases/download/$(STELLA_VERSION)
STELLA_LICENSE = GPL-2.0+
STELLA_LICENSE_FILES = Copyright.txt License.txt
STELLA_DEPENDENCIES = sdl2
STELLA_CONF_OPTS = \
--host=$(GNU_TARGET_NAME) \
--prefix=/usr \
--with-sdl-prefix=$(STAGING_DIR)/usr
ifeq ($(BR2_PACKAGE_LIBPNG),y)
STELLA_CONF_OPTS += --enable-png
STELLA_DEPENDENCIES += libpng
else
STELLA_CONF_OPTS += --disable-png
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
STELLA_CONF_OPTS += --enable-zip
STELLA_DEPENDENCIES += zlib
else
STELLA_CONF_OPTS += --disable-zip
endif
# The configure script is not autoconf based, so we use the
# generic-package infrastructure
define STELLA_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure $(STELLA_CONF_OPTS) \
)
endef
define STELLA_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
endef
define STELLA_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install
endef
$(eval $(generic-package))