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

16
package/janet/Config.in Normal file
View File

@@ -0,0 +1,16 @@
config BR2_PACKAGE_JANET
bool "janet"
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
help
Janet is a functional and imperative programming language.
The entire language (core library, interpreter, compiler,
assembler, PEG) is less than 1MB. You can also add Janet
scripting to an application by embedding a single C file
and two headers.
https://janet-lang.org/
comment "janet needs a toolchain w/ gcc >= 4.9"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

5
package/janet/janet.hash Normal file
View File

@@ -0,0 +1,5 @@
# Locally calculated
sha256 168e97e1b790f6e9d1e43685019efecc4ee473d6b9f8c421b49c195336c0b725 janet-1.41.2.tar.gz
# Locally calculated
sha256 16e31703a3ab5c4d3e35aa8bd607551911a9d981fbf0b5fbd832fe6eed4b70ca LICENSE

30
package/janet/janet.mk Normal file
View File

@@ -0,0 +1,30 @@
################################################################################
#
# janet
#
################################################################################
JANET_VERSION = 1.41.2
JANET_SITE = $(call github,janet-lang,janet,v$(JANET_VERSION))
JANET_LICENSE = MIT
JANET_LICENSE_FILES = LICENSE
JANET_INSTALL_STAGING = YES
# don't use posix_spawn_file_actions_addchdir[_np] (in src/core/os.c since 1.39.0)
JANET_CFLAGS = "-DJANET_SPAWN_NO_CHDIR $(TARGET_CFLAGS)"
ifeq ($(BR2_STATIC_LIBS),y)
JANET_CONF_OPTS += -Ddynamic_modules=false
endif
# Uses __atomic_fetch_add_4
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
JANET_LDFLAGS += $(TARGET_LDFLAGS) -latomic
endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
JANET_CONF_OPTS += -Dsingle_threaded=true
endif
$(eval $(meson-package))