forked from Openwrt/openwrt
0a24fd9155
Changes: 2a768c4 wireless-regdb: Update regulatory rules for Mongolia (MN) on 6GHz 04875d9 wireless-regdb: Update regulatory rules for Saudi Arabia (SA) on 6GHz b7bced8 wireless-regdb: Update regulatory rules for South Africa (ZA) on 6GHz 7bc8615 wireless-regdb: Update regulatory info for Thailand (TH) on 6GHz f901fa9 wireless-regdb: Update regulatory info for Malaysia (MY) for 2022 d72d288 wireless-regdb: Update regulatory info for Morocco (MA) on 6GHz 414face wireless-regdb: Update regulatory info for Chile (CL) on 6GHz 1156a08 wireless-regdb: Update regulatory info for Mexico (MX) on 6GHz cc6cf7c wireless-regdb: Update regulatory info for Iceland (IS) on 6GHz ce03cc0 wireless-regdb: Update regulatory info for Mauritius(MU) on 6GHz 7e37778 wireless-regdb: Update regulatory info for Argentina (AR) on 6GHz 56f3a43 wireless-regdb: Update regulatory info for United Arab Emirates (AE) on 6GHz 3cb8b91 wireless-regdb: Update regulatory info for Colombia (CO) on 6GHz 3682ce5 wireless-regdb: Update regulatory info for Costa Rica (CR) for 2021 dd4ffe7 wireless-regdb: Update regulatory info for Dominican Republic (DO) on 6GHz f8ef7da wireless-regdb: Update regulatory info for Liechtenstein (LI) on 6GHz a9ecabe wireless-regdb: Update regulatory info for Jordan (JO) for 2022 5a9fdad wireless-regdb: Update regulatory info for Kenya (KE) for 2022 19326c3 wireless-regdb: Update regulatory info for Macao (MO) for 2024 4838054 wireless-regdb: update regulatory database based on preceding changes Link: https://github.com/openwrt/openwrt/pull/15921 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
35 lines
932 B
Makefile
35 lines
932 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=wireless-regdb
|
|
PKG_VERSION:=2024.07.04
|
|
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:=9832a14e1be24abff7be30dee3c9a1afb5fdfcf475a0d91aafef039f8d85f5eb
|
|
|
|
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))
|