mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
5e6792eab4
make check complains about PKG_MIRROR_HASH of the wireless-regdb package: WARNING: PKG_MIRROR_HASH does not match wireless-regdb-2017-10-20-4343d359.tar.xz hash 5f5b669f32ae36cb65b1d99efbbbfd42c2983cda32f6448346e3e54ffaba3889 Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
32 lines
884 B
Makefile
32 lines
884 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=wireless-regdb
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git
|
|
PKG_SOURCE_DATE:=2017-10-20
|
|
PKG_SOURCE_VERSION:=4343d359ed5e7404de8803a74df186457b26ab79
|
|
PKG_MIRROR_HASH:=5f5b669f32ae36cb65b1d99efbbbfd42c2983cda32f6448346e3e54ffaba3889
|
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/wireless-regdb
|
|
SECTION:=firmware
|
|
CATEGORY:=Firmware
|
|
URL:=$(patsubst pub/scm,cgit,$(PKG_SOURCE_URL))
|
|
TITLE:=Wireless Regulatory Database
|
|
endef
|
|
|
|
define Build/Compile
|
|
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))
|