initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# Architecture dependency from the bundled bdwgc.
|
||||
config BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_m68k || \
|
||||
BR2_mips || BR2_mipsel || BR2_mips64 || \
|
||||
BR2_mips64el || BR2_powerpc || BR2_powerpc64 || \
|
||||
BR2_powerpc64le || BR2_sh || BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_GAUCHE
|
||||
bool "gauche"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
Gauche is an R7RS Scheme implementation developed to be a
|
||||
handy script interpreter, which allows programmers and
|
||||
system administrators to write small to large scripts for
|
||||
their daily chores. Quick startup, built-in system
|
||||
interface, native multilingual support are some of its
|
||||
goals.
|
||||
|
||||
http://practical-scheme.net/gauche/
|
||||
|
||||
comment "gauche needs a toolchain w/ NPTL, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,6 @@
|
||||
# From https://sourceforge.net/projects/gauche/files/Gauche/
|
||||
sha1 ad5e15021764b733ec913cca8b77c9a53d4ee997 Gauche-0.9.9.tgz
|
||||
md5 20d8ed835ae0bc97cceed78a71f9857b Gauche-0.9.9.tgz
|
||||
# Locally calculated
|
||||
sha256 4ca9325322a7efadb9680d156eb7b53521321c9ca4955c4cbe738bc2e1d7f7fb Gauche-0.9.9.tgz
|
||||
sha256 13cb582677dbcdc5b34313c59b4a014e74ef2f5fd80e514a0bd98fd8a4e45bed COPYING
|
||||
@@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
#
|
||||
# gauche
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GAUCHE_VERSION = 0.9.9
|
||||
GAUCHE_SOURCE = Gauche-$(GAUCHE_VERSION).tgz
|
||||
GAUCHE_SITE = http://downloads.sourceforge.net/project/gauche/Gauche
|
||||
GAUCHE_LICENSE = BSD-3-Clause, Boehm-gc, SRFI (srfi-11.scm), reload (reload.scm)
|
||||
GAUCHE_LICENSE_FILES = COPYING
|
||||
GAUCHE_DEPENDENCIES = host-gauche
|
||||
# We're patching configure.ac
|
||||
GAUCHE_AUTORECONF = YES
|
||||
|
||||
HOST_GAUCHE_CONF_OPTS = --without-zlib
|
||||
GAUCHE_CONF_OPTS = --without-libatomic-ops
|
||||
|
||||
# Enable embedded axTLS
|
||||
GAUCHE_TLS_LIBS = axtls
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
|
||||
GAUCHE_TLS_LIBS += mbedtls
|
||||
GAUCHE_DEPENDENCIES += mbedtls
|
||||
endif
|
||||
|
||||
GAUCHE_CONF_OPTS += --with-tls="$(GAUCHE_TLS_LIBS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
GAUCHE_CONF_OPTS += --with-zlib=$(STAGING_DIR)
|
||||
GAUCHE_DEPENDENCIES += zlib
|
||||
else
|
||||
GAUCHE_CONF_OPTS += --without-zlib
|
||||
endif
|
||||
|
||||
# Detection of c99 support in configure fails without WCHAR. To enable
|
||||
# automatic detection of c99 support by configure, we need to enable
|
||||
# WCHAR in toolchain. But actually we do not need WCHAR at gauche
|
||||
# runtime. So reuesting WCHAR in toolchain just for automatic detection
|
||||
# will be overkill. To solve this, explicitly -std=gnu99 is specified
|
||||
# here.
|
||||
GAUCHE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user