summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/crda
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2016-08-11 22:03:09 +0100
committerJoe MacDonald <joe_macdonald@mentor.com>2016-08-16 21:26:11 -0400
commit2ea482d03a1849fbf23ed56262b5b7bb02b0b45e (patch)
treeabcabca89a4f180524bf8dd90587757492403bc5 /meta-networking/recipes-connectivity/crda
parent1ea6e9a5d2d50ad3184326fb1631a8b9e3f1018c (diff)
downloadmeta-openembedded-2ea482d03a1849fbf23ed56262b5b7bb02b0b45e.tar.gz
crda: split wireless-regdb out into own recipe
This allows for independent updates of the regulatory database. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/crda')
-rw-r--r--meta-networking/recipes-connectivity/crda/crda_3.18.bb25
1 files changed, 6 insertions, 19 deletions
diff --git a/meta-networking/recipes-connectivity/crda/crda_3.18.bb b/meta-networking/recipes-connectivity/crda/crda_3.18.bb
index 7e13d7ba7..4a9393058 100644
--- a/meta-networking/recipes-connectivity/crda/crda_3.18.bb
+++ b/meta-networking/recipes-connectivity/crda/crda_3.18.bb
@@ -1,23 +1,18 @@
1SUMMARY = "Wireless Central Regulatory Domain Agent" 1SUMMARY = "Wireless Central Regulatory Domain Agent"
2HOMEPAGE = "http://wireless.kernel.org/en/developers/Regulatory/CRDA" 2HOMEPAGE = "http://wireless.kernel.org/en/developers/Regulatory/CRDA"
3SECTION = "net" 3SECTION = "net"
4LICENSE = "copyleft-next-0.3.0 & ISC" 4LICENSE = "copyleft-next-0.3.0"
5LIC_FILES_CHKSUM = "file://copyleft-next-0.3.0;md5=8743a2c359037d4d329a31e79eabeffe \ 5LIC_FILES_CHKSUM = "file://copyleft-next-0.3.0;md5=8743a2c359037d4d329a31e79eabeffe"
6 file://${WORKDIR}/wireless-regdb-2014.11.18/LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"
7 6
8DEPENDS = "python-m2crypto-native python-native libgcrypt libnl" 7DEPENDS = "python-m2crypto-native python-native libgcrypt libnl"
9 8
10SRC_URI = "https://www.kernel.org/pub/software/network/crda/${BP}.tar.xz;name=crda \ 9SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz \
11 https://www.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-2014.11.18.tar.xz;name=bin \
12 file://do-not-run-ldconfig-if-destdir-is-set.patch \ 10 file://do-not-run-ldconfig-if-destdir-is-set.patch \
13 file://fix-linking-of-libraries-used-by-reglib.patch \ 11 file://fix-linking-of-libraries-used-by-reglib.patch \
14 file://fix-gcc-6-unused-variables.patch \ 12 file://fix-gcc-6-unused-variables.patch \
15" 13"
16SRC_URI[crda.md5sum] = "0431fef3067bf503dfb464069f06163a" 14SRC_URI[md5sum] = "0431fef3067bf503dfb464069f06163a"
17SRC_URI[crda.sha256sum] = "43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e8ecdbf" 15SRC_URI[sha256sum] = "43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e8ecdbf"
18
19SRC_URI[bin.md5sum] = "d750c402c5510add7380edcb1d9b75b2"
20SRC_URI[bin.sha256sum] = "eab6b50f30748a8b0065ba38cf3df05aac161a5861ae0a6c3cfd01d38a71c9dd"
21 16
22inherit python-dir pythonnative 17inherit python-dir pythonnative
23# Recursive make problem 18# Recursive make problem
@@ -29,14 +24,6 @@ do_compile() {
29 24
30do_install() { 25do_install() {
31 oe_runmake SBINDIR=${sbindir}/ install 26 oe_runmake SBINDIR=${sbindir}/ install
32
33 install -d ${D}${libdir}/crda/
34
35 install -m 0644 ${WORKDIR}/wireless-regdb-2014.11.18/regulatory.bin ${D}${libdir}/crda/regulatory.bin
36} 27}
37 28
38 29RDEPENDS_${PN} = "udev wireless-regdb"
39RDEPENDS_${PN} = "udev"
40FILES_${PN} += "${libdir}crda/regulatory.bin \
41 ${base_libdir}/udev/rules.d/85-regulatory.rules \
42"