summaryrefslogtreecommitdiffstats
path: root/package/wireless-regdb/wireless-regdb.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/wireless-regdb/wireless-regdb.mk')
-rw-r--r--package/wireless-regdb/wireless-regdb.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/wireless-regdb/wireless-regdb.mk b/package/wireless-regdb/wireless-regdb.mk
new file mode 100644
index 000000000..b4e038c6b
--- /dev/null
+++ b/package/wireless-regdb/wireless-regdb.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# wireless-regdb
+#
+#############################################################
+
+WIRELESS_REGDB_VERSION = 2013.01.11
+WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.bz2
+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)/linville.key.pub.pem $(TARGET_DIR)/etc/wireless-regdb/pubkeys/linville.key.pub.pem
+endef
+
+$(eval $(generic-package))