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

20
package/duktape/Config.in Normal file
View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_DUKTAPE
bool "duktape"
depends on !BR2_STATIC_LIBS
depends on !BR2_OPTIMIZE_FAST
help
Duktape is an embeddable Javascript engine, with a focus on
portability and compact footprint.
Duktape is easy to integrate into a C/C++ project: add
duktape.c, duktape.h, and duk_config.h to your build, and use
the Duktape API to call Ecmascript functions from C code and
vice versa.
http://www.duktape.org
comment "duktape needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
comment "duktape can't be built with Optimize for fast"
depends on BR2_OPTIMIZE_FAST

View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 90f8d2fa8b5567c6899830ddef2c03f3c27960b11aca222fa17aa7ac613c2890 duktape-2.7.0.tar.xz
sha256 c6b6659630ca6cb837afe982ecc79511bfca878b56296d628b02eb6f18789c29 LICENSE.txt

View File

@@ -0,0 +1,34 @@
################################################################################
#
# duktape
#
################################################################################
DUKTAPE_VERSION = 2.7.0
DUKTAPE_SOURCE = duktape-$(DUKTAPE_VERSION).tar.xz
DUKTAPE_SITE = \
https://github.com/svaarala/duktape/releases/download/v$(DUKTAPE_VERSION)
DUKTAPE_LICENSE = MIT
DUKTAPE_LICENSE_FILES = LICENSE.txt
DUKTAPE_INSTALL_STAGING = YES
DUKTAPE_CPE_ID_VALID = YES
define DUKTAPE_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary
endef
define DUKTAPE_INSTALL_STAGING_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary \
INSTALL_PREFIX=$(STAGING_DIR)/usr install
$(INSTALL) -D -m 0644 $(DUKTAPE_PKGDIR)/duktape.pc.in \
$(STAGING_DIR)/usr/lib/pkgconfig/duktape.pc
$(SED) 's/@VERSION@/$(DUKTAPE_VERSION)/g;' \
$(STAGING_DIR)/usr/lib/pkgconfig/duktape.pc
endef
define DUKTAPE_INSTALL_TARGET_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary \
INSTALL_PREFIX=$(TARGET_DIR)/usr install
endef
$(eval $(generic-package))

View File

@@ -0,0 +1,10 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: duktape
Description: Embeddable Javascript engine
Version: @VERSION@
Libs: -L${libdir} -lduktape
Cflags: -I${includedir}/