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

View File

@@ -0,0 +1,35 @@
From 488872421ef38215d2797f78497eb559d8eec32a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= <sairon@users.noreply.github.com>
Date: Fri, 5 Dec 2025 16:45:36 +0100
Subject: [PATCH] libkbdfile: fix zlib build
Upstream: https://github.com/legionus/kbd/commit/2f9a4e56c2ef245fbe840677aad9d5932e17f50d
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
src/libkbdfile/elf-note.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/libkbdfile/elf-note.h b/src/libkbdfile/elf-note.h
index a0fd9e2..d3b8d5c 100644
--- a/src/libkbdfile/elf-note.h
+++ b/src/libkbdfile/elf-note.h
@@ -26,14 +26,11 @@ int dlsym_many(void **dlp, const char *filename, ...);
*/
#define DLSYM_ARG(symbol__) &sym_##symbol__, STRINGIFY(symbol__),
-/* For symbols being dynamically loaded */
-#define DECLARE_DLSYM(symbol) static typeof(symbol) *sym_##symbol
-
/*
* Helper defines, to be done locally before including this header to switch between
* implementations
*/
-#define DECLARE_SYM(sym__) DECLARE_DLSYM(sym__);
+#define DECLARE_SYM(sym__) static typeof(sym__) *sym_##sym__;
/*
* Originally from systemd codebase.
--
2.47.3

13
package/kbd/Config.in Normal file
View File

@@ -0,0 +1,13 @@
config BR2_PACKAGE_KBD
bool "kbd"
# Uses fork()
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # _Generic
help
Keytable files and keyboard utilities.
http://kernel.org/pub/linux/utils/kbd/
comment "kbd needs a toolchain w/ gcc >= 4.9"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

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

@@ -0,0 +1,4 @@
# From https://www.kernel.org/pub/linux/utils/kbd/sha256sums.asc
sha256 fb3197f17a99eb44d22a3a1a71f755f9622dd963e66acfdea1a45120951b02ed kbd-2.9.0.tar.xz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
sha256 5a16340fe773f422144b436df90319114a2884933c56e9be6fad642e59be5e1f CREDITS

50
package/kbd/kbd.mk Normal file
View File

@@ -0,0 +1,50 @@
################################################################################
#
# kbd
#
################################################################################
KBD_VERSION = 2.9.0
KBD_SOURCE = kbd-$(KBD_VERSION).tar.xz
KBD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kbd
KBD_CONF_OPTS = \
--disable-vlock \
--disable-tests
KBD_DEPENDENCIES = \
$(TARGET_NLS_DEPENDENCIES) \
host-pkgconf
ifeq ($(BR2_PACKAGE_BZIP2),y)
KBD_CONF_OPTS += --with-bzip2
KBD_DEPENDENCIES += bzip2
else
KBD_CONF_OPTS += --without-bzip2
endif
ifeq ($(BR2_PACKAGE_XZ),y)
KBD_CONF_OPTS += --with-lzma
KBD_DEPENDENCIES += xz
else
KBD_CONF_OPTS += --without-lzma
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
KBD_CONF_OPTS += --with-zlib
KBD_DEPENDENCIES += zlib
else
KBD_CONF_OPTS += --without-zlib
endif
ifeq ($(BR2_PACKAGE_ZSTD),y)
KBD_CONF_OPTS += --with-zstd
KBD_DEPENDENCIES += zstd
else
KBD_CONF_OPTS += --without-zstd
endif
KBD_LICENSE = GPL-2.0+
KBD_LICENSE_FILES = COPYING CREDITS
KBD_INSTALL_TARGET_OPTS = MKINSTALLDIRS=$(@D)/config/mkinstalldirs DESTDIR=$(TARGET_DIR) install
$(eval $(autotools-package))