aboutsummaryrefslogtreecommitdiff
path: root/package/wireless-regdb/wireless-regdb.mk
blob: 9d7a37546151041baad62bb4e2485ead5b88eeb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
################################################################################
#
# wireless-regdb
#
################################################################################

WIRELESS_REGDB_VERSION = 2017.03.07
WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz
WIRELESS_REGDB_SITE = http://kernel.org/pub/software/network/wireless-regdb
WIRELESS_REGDB_LICENSE = ISC
WIRELESS_REGDB_LICENSE_FILES = LICENSE

define WIRELESS_REGDB_INSTALL_TARGET_CMDS
	$(INSTALL) -m 644 -D -T $(@D)/regulatory.bin \
		$(TARGET_DIR)/usr/lib/crda/regulatory.bin
	$(INSTALL) -m 644 -D -T $(@D)/sforshee.key.pub.pem \
		$(TARGET_DIR)/etc/wireless-regdb/pubkeys/sforshee.key.pub.pem
endef

$(eval $(generic-package))