initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
config BR2_PACKAGE_WIRELESS_REGDB
bool "wireless-regdb"
help
Wireless regulatory database.
Wireless regulatory database. The database lists the
allowed radio frequencies for each local jurisdiction.
Since linux-4.15 the kernel supports loading the files
regulatory.db/regulatory.db.p7s directly from the
/lib/firmware directory, for earlier versions the crda helper
application is needed.
https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb
@@ -0,0 +1,4 @@
# From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc
sha256 cff370c410d1e6d316ae0a7fa8ac6278fdf1efca5d3d664aca7cfd2aafa54446 wireless-regdb-2021.08.28.tar.xz
# Locally computed
sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE
+31
View File
@@ -0,0 +1,31 @@
################################################################################
#
# wireless-regdb
#
################################################################################
WIRELESS_REGDB_VERSION = 2021.08.28
WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz
WIRELESS_REGDB_SITE = $(BR2_KERNEL_MIRROR)/software/network/wireless-regdb
WIRELESS_REGDB_LICENSE = ISC
WIRELESS_REGDB_LICENSE_FILES = LICENSE
WIRELESS_REGDB_CPE_ID_VENDOR = kernel
ifeq ($(BR2_PACKAGE_CRDA),y)
define WIRELESS_REGDB_INSTALL_CRDA_TARGET_CMDS
$(INSTALL) -m 644 -D -T $(@D)/regulatory.bin \
$(TARGET_DIR)/usr/lib/crda/regulatory.bin
$(INSTALL) -m 644 -D -T $(@D)/sforshee.key.pub.pem \
$(TARGET_DIR)/etc/wireless-regdb/pubkeys/sforshee.key.pub.pem
endef
endif
define WIRELESS_REGDB_INSTALL_TARGET_CMDS
$(WIRELESS_REGDB_INSTALL_CRDA_TARGET_CMDS)
$(INSTALL) -m 644 -D -T $(@D)/regulatory.db \
$(TARGET_DIR)/lib/firmware/regulatory.db
$(INSTALL) -m 644 -D -T $(@D)/regulatory.db.p7s \
$(TARGET_DIR)/lib/firmware/regulatory.db.p7s
endef
$(eval $(generic-package))