mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-22 04:56:15 +00:00
a6de2d7784
b66b9a1 wireless-regdb: update regulatory database based on preceding changes 5097b4a wireless-regdb: Update regulatory info for Tanzania (TZ) for 2024 29633a6 wireless-regdb: Update regulatory info for Pakistan (PK) for 2024 b44edb2 wireless-regdb: Update regulatory info for Serbia (RS) for 2024 dbfae47 Revert "wireless-regdb: Update regulatory info for Serbia (SR) for 2024" 8e3d27c wireless-regdb: Correct regulatory rules of 6GHz frequency for Türkiye (TR) 8760bc3 wireless-regdb: Update regulatory info for Honduras (HN) for 2023 3ba2c53 wireless-regdb: Update regulatory info for Israel (IL) for 2021 83c175c wireless-regdb: Update regulatory info for Kuwait (KW) for 2022 388c80c wireless-regdb: Update regulatory info for Serbia (SR) for 2024 bf55ed4 wireless-regdb: Add .b4-config 3afe172 wireless-regdb: Update .gitignore 3b34761 wireless-regdb: Correct regulatory rules for China (CN) 003c282 wireless-regdb: Update regulatory info for Philippines (PH) on 6GHz 21fcb86 wireless-regdb: Update regulatory info for Guatemala (GT) for 2020 158f105 wireless-regdb: Update regulatory info for Bahrain (BH) for 2024 218d146 wireless-regdb: Add regulatory info for Namibia (NA) for 2023 aad0c26 wireless-regdb: Update regulatory info for Togo (TG) for 2022 983f551 wireless-regdb: Update regulatory info for El Salvador (SV) on 6GHz 58575b4 wireless-regdb: Update regulatory info for Peru (PE) on 6GHz bad3985 wireless-regdb: Update regulatory info for New Zealand (NZ) for 2022 c7d1083 wireless-regdb: Update regulatory info for Qatar (QA) on 6GHz Signed-off-by: Itay Shoshani <itai.sho@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16678 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.10.07
|
|
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:=f76f2bd79a653e9f9dd50548d99d03a4a4eb157da056dfd5892f403ec28fb3d5
|
|
|
|
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))
|