Initial Commit
- initial default booting image
This commit is contained in:
14
package/wireless-regdb/Config.in
Normal file
14
package/wireless-regdb/Config.in
Normal 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
|
||||
4
package/wireless-regdb/wireless-regdb.hash
Normal file
4
package/wireless-regdb/wireless-regdb.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc
|
||||
sha256 8a27bfc081bafed8c24dd70fab0d96f098e5a0bfcd08d3da672595f225ab8993 wireless-regdb-2026.05.30.tar.xz
|
||||
# Locally computed
|
||||
sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE
|
||||
30
package/wireless-regdb/wireless-regdb.mk
Normal file
30
package/wireless-regdb/wireless-regdb.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# wireless-regdb
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WIRELESS_REGDB_VERSION = 2026.05.30
|
||||
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
|
||||
|
||||
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)/wens.key.pub.pem \
|
||||
$(TARGET_DIR)/etc/wireless-regdb/pubkeys/wens.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))
|
||||
Reference in New Issue
Block a user