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

28
package/volk/Config.in Normal file
View File

@@ -0,0 +1,28 @@
comment "volk needs a toolchain w/ C++, NPTL, wchar, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
config BR2_PACKAGE_VOLK
bool "volk"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_USE_MMU # use fork()
help
VOLK is the Vector-Optimized Library of Kernels. It is a
library that contains kernels of hand-written SIMD code
for different mathematical operations. Since each SIMD
architecture can be very different and no compiler has yet
come along to handle vectorization properly or highly
efficiently, VOLK approaches the problem differently.
For each architecture or platform that a developer wishes
to vectorize for, a new proto-kernel is added to VOLK. At
runtime, VOLK will select the correct proto-kernel. In this
way, the users of VOLK call a kernel for performing the
operation that is platform/architecture agnostic. This
allows us to write portable SIMD code.
https://www.libvolk.org/

3
package/volk/volk.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally computed
sha256 93fcf717545f5e60491c57fd8dd348d814d3f95332d9dada5e53ab38015ff90a volk-3.2.0.tar.xz
sha256 e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118 COPYING

40
package/volk/volk.mk Normal file
View File

@@ -0,0 +1,40 @@
################################################################################
#
# volk
#
################################################################################
VOLK_VERSION = 3.2.0
VOLK_SITE = https://github.com/gnuradio/volk/releases/download/v$(VOLK_VERSION)
VOLK_SOURCE = volk-$(VOLK_VERSION).tar.xz
VOLK_LICENSE = LGPL-3.0+
VOLK_LICENSE_FILES = COPYING
VOLK_SUPPORTS_IN_SOURCE_BUILD = NO
# host-python-mako are needed for volk to compile
VOLK_DEPENDENCIES = host-python3 host-python-mako
VOLK_CONF_OPTS = \
-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \
-DENABLE_MODTOOL=OFF \
-DENABLE_TESTING=OFF \
-DENABLE_PROFILING=OFF \
-DVOLK_PYTHON_DIR=lib/python$(PYTHON3_VERSION_MAJOR)/site-packages
# For third-party blocks, the volk library is mandatory at
# compile time.
VOLK_INSTALL_STAGING = YES
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
VOLK_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
endif
ifeq ($(BR2_PACKAGE_ORC),y)
VOLK_DEPENDENCIES += orc
VOLK_CONF_OPTS += -DENABLE_ORC=ON
else
VOLK_CONF_OPTS += -DENABLE_ORC=OFF
endif
$(eval $(cmake-package))