mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
30
package/stella/0001-configure-add-CC.patch
Normal file
30
package/stella/0001-configure-add-CC.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
From 143cf9fa13a07b827de7065a5e919631406b0941 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 12 Dec 2021 22:46:52 +0100
|
||||
Subject: [PATCH] configure: add CC (#854)
|
||||
|
||||
Add CC to fix the following build failure when cross-compiling which is
|
||||
raised since
|
||||
https://github.com/stella-emu/stella/commit/771b5b44e31de1b81a552ee47b65014fbc338776:
|
||||
|
||||
out/src/sqlite/sqlite3.o: file not recognized: file format not recognized
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Retrieved from:
|
||||
https://github.com/stella-emu/stella/commit/143cf9fa13a07b827de7065a5e919631406b0941]
|
||||
---
|
||||
configure | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index df666b377..0101d2567 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -899,6 +899,7 @@ echo "Creating config.mak"
|
||||
cat > config.mak << EOF
|
||||
# -------- Generated by configure -----------
|
||||
|
||||
+CC := $CC
|
||||
CXX := $CXX
|
||||
CXXFLAGS := $CXXFLAGS
|
||||
LD := $LD
|
||||
@@ -3,20 +3,18 @@ config BR2_PACKAGE_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_GCC_AT_LEAST_7 # C++17
|
||||
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"
|
||||
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_6
|
||||
!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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Locally computed:
|
||||
sha256 47b991af880b1699614c081d602c197942cfbdcbf52e3d738617923d5df23dc7 stella-6.2.1-src.tar.xz
|
||||
sha256 d207ee9e563fdd062582df8cbb6c8303b9879bd107692c0db2a32477e47dfa35 Copyright.txt
|
||||
sha256 d481efc6d27b5294565dfcc10983de2dbc4db8a59932a678ffdb4d2404b8c207 stella-6.6-src.tar.xz
|
||||
sha256 d5e5897578c2590e48328986cebd950ff215653f7f506ef93accf981870366a6 Copyright.txt
|
||||
sha256 58530d09b6fcb91ae27071be0081af90e6c2d7fdf991d34a29e234a2a5e75455 License.txt
|
||||
|
||||
@@ -4,19 +4,33 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
STELLA_VERSION = 6.2.1
|
||||
STELLA_VERSION = 6.6
|
||||
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_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
|
||||
|
||||
Reference in New Issue
Block a user