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

25
package/xnnpack/Config.in Normal file
View File

@@ -0,0 +1,25 @@
config BR2_PACKAGE_XNNPACK_ARCH_SUPPORTS
bool
default y if BR2_i386
default y if BR2_x86_64
depends on BR2_PACKAGE_CPUINFO_ARCH_SUPPORTS
config BR2_PACKAGE_XNNPACK
bool "xnnpack"
depends on BR2_PACKAGE_XNNPACK_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
depends on BR2_TOOLCHAIN_HAS_THREADS # cpuinfo, pthreadpool
select BR2_PACKAGE_CPUINFO
select BR2_PACKAGE_FP16
select BR2_PACKAGE_FXDIV
select BR2_PACKAGE_PTHREADPOOL
help
XNNPACK is a highly optimized solution for neural network
inference on ARM, x86, WebAssembly, and RISC-V platforms.
https://github.com/google/XNNPACK
comment "xnnpack needs a toolchain w/ C++14, threads"
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,4 @@
# Locally calculated
sha256 0ed35a104a697abbae72b02b967e057883ff57b388178649c453b68cffb81f72 xnnpack-d7f398ee5e135ef4f7045802eea973cc6cb26c6c.tar.gz
# License files, locally calculated
sha256 63f519e15726f4c4f830bd958f694c84fecb4e0a4cacc527d2696bb71ef95ada LICENSE

View File

@@ -0,0 +1,21 @@
################################################################################
#
# xnnpack
#
################################################################################
XNNPACK_VERSION = d7f398ee5e135ef4f7045802eea973cc6cb26c6c
XNNPACK_SITE = $(call github,google,XNNPACK,$(XNNPACK_VERSION))
XNNPACK_LICENSE = BSD-3-Clause
XNNPACK_LICENSE_FILES = LICENSE
XNNPACK_INSTALL_STAGING = YES
XNNPACK_DEPENDENCIES = cpuinfo fp16 fxdiv pthreadpool
XNNPACK_CONF_OPTS = \
-DCPUINFO_SOURCE_DIR=$(STAGING_DIR)/usr \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DXNNPACK_BUILD_TESTS=OFF \
-DXNNPACK_BUILD_BENCHMARKS=OFF \
-DXNNPACK_ENABLE_KLEIDIAI=OFF \
-DXNNPACK_USE_SYSTEM_LIBS=ON
$(eval $(cmake-package))