mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
0c9833d0e0
Changes:
9dc9c89 wireless-regdb: update regulatory database based on preceding changes
442bc25 wireless-regdb: update 5 GHz rules for PK and add 60 GHz rule
daee7f3 wireless-regdb: add 5 GHz rules for GY
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 1d2d69c810
)
33 lines
892 B
Makefile
33 lines
892 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=wireless-regdb
|
|
PKG_VERSION:=2022.08.12
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_SOURCE_URL:=@KERNEL/software/network/wireless-regdb/
|
|
PKG_HASH:=59c8f7d17966db71b27f90e735ee8f5b42ca3527694a8c5e6e9b56bd379c3b84
|
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/wireless-regdb
|
|
PKGARCH:=all
|
|
SECTION:=firmware
|
|
CATEGORY:=Firmware
|
|
URL:=https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git/
|
|
TITLE:=Wireless Regulatory Database
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(STAGING_DIR_HOST)/bin/$(PYTHON) $(PKG_BUILD_DIR)/db2fw.py $(PKG_BUILD_DIR)/regulatory.db $(PKG_BUILD_DIR)/db.txt
|
|
endef
|
|
|
|
define Package/wireless-regdb/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware
|
|
$(CP) $(PKG_BUILD_DIR)/regulatory.db $(1)/lib/firmware/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,wireless-regdb))
|