mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
crda: fix errors about unused variables and remove from the blacklist
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
committed by
Joe MacDonald
parent
1cb7275961
commit
3647a2ca4c
@@ -0,0 +1,11 @@
|
||||
--- crda-3.18/utils/key2pub.py.orig 2016-06-18 09:54:23.671326113 -0400
|
||||
+++ crda-3.18/utils/key2pub.py 2016-06-18 09:54:34.387326300 -0400
|
||||
@@ -115,7 +115,7 @@
|
||||
.n = _n, .len_n = sizeof(_n), \
|
||||
}
|
||||
|
||||
-static const struct key_params keys[] = {
|
||||
+static const struct key_params keys[] __attribute__((unused))= {
|
||||
''')
|
||||
for n in xrange(n + 1):
|
||||
output.write(' KEYS(e_%d, n_%d),\n' % (n, n))
|
||||
@@ -11,6 +11,7 @@ SRC_URI = "https://www.kernel.org/pub/software/network/crda/${BP}.tar.xz;name=cr
|
||||
https://www.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-2014.11.18.tar.xz;name=bin \
|
||||
file://do-not-run-ldconfig-if-destdir-is-set.patch \
|
||||
file://fix-linking-of-libraries-used-by-reglib.patch \
|
||||
file://fix-gcc-6-unused-variables.patch \
|
||||
"
|
||||
SRC_URI[crda.md5sum] = "0431fef3067bf503dfb464069f06163a"
|
||||
SRC_URI[crda.sha256sum] = "43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e8ecdbf"
|
||||
@@ -39,6 +40,3 @@ RDEPENDS_${PN} = "udev"
|
||||
FILES_${PN} += "${libdir}crda/regulatory.bin \
|
||||
${base_libdir}/udev/rules.d/85-regulatory.rules \
|
||||
"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/68635/
|
||||
PNBLACKLIST[crda] ?= "BROKEN: fails to build with gcc-6"
|
||||
|
||||
Reference in New Issue
Block a user