mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
65c1f0d433
Changes: 73529a8 Revert "wireless-regdb: Update and disable 5470-5730MHz band according to TPC requirement for Singapore (SG)" 87941e4 wireless-regdb: Update regulatory rules for Taiwan (TW) on 6GHz 33797ae wireless-regdb: update regulatory database based on preceding changes Signed-off-by: Yuu Toriyama <PascalCoffeeLake@gmail.com>
35 lines
932 B
Makefile
35 lines
932 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=wireless-regdb
|
|
PKG_VERSION:=2024.05.08
|
|
PKG_RELEASE:=1
|
|
PKG_LICENSE:=ISC
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_SOURCE_URL:=@KERNEL/software/network/wireless-regdb/
|
|
PKG_HASH:=9aee1d86ebebb363b714bec941b2820f31e3b7f1a485ddc9fcbd9985c7d3e7c4
|
|
|
|
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/wens/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))
|