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

32
package/kvmtool/Config.in Normal file
View File

@@ -0,0 +1,32 @@
config BR2_PACKAGE_KVMTOOL
bool "kvmtool"
depends on BR2_USE_MMU # guest simple init fork()
# No MADV_HUGEPAGE define in uClibc(-ng)
depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
# Only mips big-endian seems to be supported (build breaks)
# Should work on powerpc64 but the build breaks with missing types
depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \
BR2_mips || BR2_x86_64 || BR2_riscv
# libfdt is only required for DT architectures...
# ...but it's not able to build for static targets
depends on !(BR2_STATIC_LIBS && (BR2_aarch64 || BR2_arm || \
BR2_armeb || BR2_riscv))
select BR2_PACKAGE_DTC if BR2_aarch64 || BR2_arm || BR2_armeb || BR2_riscv
help
kvmtool is a lightweight tool for hosting KVM guests.
As a pure virtualization tool it only supports guests using
the same architecture, though it supports running 32-bit
guests on those 64-bit architectures that allow this.
https://git.kernel.org/cgit/linux/kernel/git/will/kvmtool.git/tree/README
comment "kvmtool needs a glibc or musl toolchain"
depends on BR2_USE_MMU
depends on BR2_i386 || BR2_mips || BR2_x86_64
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
comment "kvmtool needs a glibc or musl toolchain w/ dynamic library"
depends on BR2_USE_MMU
depends on BR2_aarch64 || BR2_arm || BR2_armeb
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \
BR2_STATIC_LIBS

View File

@@ -0,0 +1,3 @@
# Locally computed
sha256 655f7691fc80416161b1d832575abfcd1223fbefa2900653ed5ddaab3ee738ec kvmtool-7ad32e5514aca2b6d19398fd3ae5a7c5e0e1ce24-git4.tar.gz
sha256 0d5bf346df9e635a29dcdddf832dc5b002ca6cdc1c5c9c6c567d2a61bb0c5c15 COPYING

View File

@@ -0,0 +1,37 @@
################################################################################
#
# kvmtool
#
################################################################################
KVMTOOL_VERSION = 7ad32e5514aca2b6d19398fd3ae5a7c5e0e1ce24
KVMTOOL_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git
KVMTOOL_SITE_METHOD = git
KVMTOOL_DEPENDENCIES = \
$(if $(BR2_PACKAGE_BINUTILS),binutils) \
$(if $(BR2_PACKAGE_DTC),dtc) \
$(if $(BR2_PACKAGE_LIBAIO),libaio) \
$(if $(BR2_PACKAGE_LIBGTK3),libgtk3) \
$(if $(BR2_PACKAGE_LIBVNCSERVER),libvncserver) \
$(if $(BR2_PACKAGE_SDL),sdl) \
$(if $(BR2_PACKAGE_ZLIB),zlib)
KVMTOOL_LICENSE = GPL-2.0
KVMTOOL_LICENSE_FILES = COPYING
KVMTOOL_CPE_ID_VALID = YES
# Disable -Werror, otherwise musl is not happy
KVMTOOL_MAKE_OPTS = \
CROSS_COMPILE="$(TARGET_CROSS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
WERROR=0
define KVMTOOL_BUILD_CMDS
$(TARGET_MAKE_ENV) ARCH=$(NORMALIZED_ARCH) $(MAKE) -C $(@D) $(KVMTOOL_MAKE_OPTS)
endef
define KVMTOOL_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) ARCH=$(NORMALIZED_ARCH) $(MAKE) -C $(@D) \
$(KVMTOOL_MAKE_OPTS) install DESTDIR=$(TARGET_DIR) prefix=/usr
endef
$(eval $(generic-package))