Initial Commit
- initial default booting image
This commit is contained in:
28
package/gauche/Config.in
Normal file
28
package/gauche/Config.in
Normal file
@@ -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
|
||||
6
package/gauche/gauche.hash
Normal file
6
package/gauche/gauche.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# Locally calculated after checking signature
|
||||
# https://github.com/shirok/Gauche/releases/download/release0_9_12/Gauche-0.9.12.tgz.asc
|
||||
sha256 b4ae64921b07a96661695ebd5aac0dec813d1a68e546a61609113d7843f5b617 Gauche-0.9.12.tgz
|
||||
|
||||
# Locally calculated
|
||||
sha256 bc09c643a05e14d7ea8264aa737c5c14d60a20911a0309e7b27da231bbb4525d COPYING
|
||||
43
package/gauche/gauche.mk
Normal file
43
package/gauche/gauche.mk
Normal file
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
#
|
||||
# gauche
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GAUCHE_VERSION = 0.9.12
|
||||
GAUCHE_SOURCE = Gauche-$(GAUCHE_VERSION).tgz
|
||||
GAUCHE_SITE = https://github.com/shirok/Gauche/releases/download/release$(subst .,_,$(GAUCHE_VERSION))
|
||||
GAUCHE_LICENSE = BSD-3-Clause, Boehm-gc, SRFI (srfi-11.scm), reload (reload.scm)
|
||||
GAUCHE_LICENSE_FILES = COPYING
|
||||
GAUCHE_DEPENDENCIES = host-gauche
|
||||
|
||||
HOST_GAUCHE_CONF_OPTS = --without-zlib
|
||||
GAUCHE_CONF_OPTS = --with-libatomic-ops=none
|
||||
|
||||
# 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