initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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_6 # C++14
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
|
||||
select BR2_PACKAGE_SDL2
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
select BR2_PACKAGE_ZLIB
|
||||
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 >= 6"
|
||||
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
||||
|
||||
comment "stella needs a toolchain not affected by GCC bug 64735"
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
@@ -0,0 +1,4 @@
|
||||
# Locally computed:
|
||||
sha256 0346900e9ba4b6d532b72d956adc5078502a9bd6bbc1648bb3dd68f5ffd4859b stella-6.4-src.tar.xz
|
||||
sha256 d207ee9e563fdd062582df8cbb6c8303b9879bd107692c0db2a32477e47dfa35 Copyright.txt
|
||||
sha256 58530d09b6fcb91ae27071be0081af90e6c2d7fdf991d34a29e234a2a5e75455 License.txt
|
||||
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# stella
|
||||
#
|
||||
################################################################################
|
||||
|
||||
STELLA_VERSION = 6.4
|
||||
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 libpng zlib
|
||||
|
||||
STELLA_CONF_OPTS = \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--prefix=/usr \
|
||||
--with-sdl-prefix=$(STAGING_DIR)/usr
|
||||
|
||||
# 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))
|
||||
Reference in New Issue
Block a user