summaryrefslogtreecommitdiffstats
path: root/package/wireless-regdb
diff options
context:
space:
mode:
authorDimitrios Siganos <dimitris@siganos.org>2013-04-09 03:22:19 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-21 23:11:04 +0200
commit3d9ce2f563b78ccc40af80f7d20b7a260a8ab3fd (patch)
treef48a554edb3e0041497f3777a24ac8e07879c12d /package/wireless-regdb
parentecfee1073251147f3cbdcbaa531eb5e2b61f4824 (diff)
downloadbuildroot-novena-3d9ce2f563b78ccc40af80f7d20b7a260a8ab3fd.tar.gz
buildroot-novena-3d9ce2f563b78ccc40af80f7d20b7a260a8ab3fd.zip
wireless-regdb: new package
Signed-off-by: Dimitrios Siganos <dimitris@siganos.org> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/wireless-regdb')
-rw-r--r--package/wireless-regdb/Config.in10
-rw-r--r--package/wireless-regdb/wireless-regdb.mk18
2 files changed, 28 insertions, 0 deletions
diff --git a/package/wireless-regdb/Config.in b/package/wireless-regdb/Config.in
new file mode 100644
index 000000000..89a614713
--- /dev/null
+++ b/package/wireless-regdb/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_WIRELESS_REGDB
+ bool "wireless-regdb"
+ help
+ Wireless regulatory database.
+
+ Wireless regulatory database for CRDA. The database lists the
+ allowed radio frequencies for each local jurisdiction.
+
+ http://linuxwireless.org/en/developers/Regulatory
+
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))