crda: move libnl, libgcrypt to DEPENDS

crda has a build time dependence on libgcrypt, so move the dependence
from RDEPENDS to DEPENDS.

Otherwise the build fails with:

reglib.c:28:20: fatal error: gcrypt.h: No such file or directory

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Javier Viguera 2015-03-04 17:39:04 +01:00 committed by Joe MacDonald
parent f143211de3
commit 9584c59d39

View File

@ -5,7 +5,7 @@ LICENSE = "copyleft-next-0.3.0 & ISC"
LIC_FILES_CHKSUM = "file://copyleft-next-0.3.0;md5=8743a2c359037d4d329a31e79eabeffe \
file://${WORKDIR}/wireless-regdb-2014.11.18/LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"
DEPENDS = "python-m2crypto-native python-native"
DEPENDS = "python-m2crypto-native python-native libgcrypt libnl"
SRC_URI = "https://www.kernel.org/pub/software/network/crda/${BP}.tar.xz;name=crda \
https://www.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-2014.11.18.tar.xz;name=bin \
@ -37,7 +37,7 @@ do_install() {
}
RDEPENDS_${PN} = "udev libgcrypt libnl"
RDEPENDS_${PN} = "udev"
FILES_${PN} += "${libdir}crda/regulatory.bin \
${base_libdir}/udev/rules.d/85-regulatory.rules \
"