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

29
package/duma/Config.in Normal file
View File

@@ -0,0 +1,29 @@
config BR2_PACKAGE_DUMA
bool "duma"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
# By design, duma uses page mapping to isolate
# allocations. Non-MMU platforms cannot perform such
# things.
depends on BR2_USE_MMU
# duma works using LD_PRELOAD, so it always needs to build a
# shared library
depends on !BR2_STATIC_LIBS
help
D.U.M.A. - Detect Unintended Memory Access. A fork of the
Electric Fence library. Detects buffer overflow and
underflow, and also memory leaks.
https://github.com/johnsonjh/duma
if BR2_PACKAGE_DUMA
config BR2_PACKAGE_DUMA_NO_LEAKDETECTION
bool "disable memory leak detection"
endif # BR2_PACKAGE_DUMA
comment "duma needs a toolchain w/ C++, threads, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS

4
package/duma/duma.hash Normal file
View File

@@ -0,0 +1,4 @@
# Locally computed:
sha256 470aa72e7018f0beadb5fbe3c932a62ba1b0594c29158a744c614bfa42133e59 duma-2.5.21.tar.gz
sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad COPYING-GPL
sha256 76568dd3f7e12b18900ce0e767b99e59f4956a2e709a33de899508693a6425d4 COPYING-LGPL

37
package/duma/duma.mk Normal file
View File

@@ -0,0 +1,37 @@
################################################################################
#
# duma
#
################################################################################
DUMA_VERSION = 2.5.21
DUMA_SITE = $(call github,johnsonjh,duma,VERSION_$(subst .,_,$(DUMA_VERSION)))
DUMA_LICENSE = GPL-2.0+, LGPL-2.1+
DUMA_LICENSE_FILES = COPYING-GPL COPYING-LGPL
DUMA_INSTALL_STAGING = YES
DUMA_OPTIONS = \
$(if $(BR2_PACKAGE_DUMA_NO_LEAKDETECTION),-DDUMA_LIB_NO_LEAKDETECTION)
# The dependency of some source files in duma_config.h, which is generated at
# build time, is not specified in the Makefile. Force non-parallel build.
define DUMA_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
OS=linux \
DUMA_OPTIONS="$(DUMA_OPTIONS)" \
HOST_CFLAGS="$(HOST_CFLAGS)" \
CPPFLAGS="$(TARGET_CXXFLAGS) -std=c++11" -C $(@D)
endef
define DUMA_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
OS=linux prefix=$(STAGING_DIR)/usr install -C $(@D)
endef
define DUMA_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
OS=linux prefix=$(TARGET_DIR)/usr install -C $(@D)
endef
$(eval $(generic-package))