diff options
Diffstat (limited to 'meta-networking/recipes-connectivity')
-rw-r--r-- | meta-networking/recipes-connectivity/crda/crda_3.18.bb | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/meta-networking/recipes-connectivity/crda/crda_3.18.bb b/meta-networking/recipes-connectivity/crda/crda_3.18.bb index c596dedd4..853a52346 100644 --- a/meta-networking/recipes-connectivity/crda/crda_3.18.bb +++ b/meta-networking/recipes-connectivity/crda/crda_3.18.bb | |||
@@ -4,8 +4,10 @@ SECTION = "net" | |||
4 | LICENSE = "copyleft-next-0.3.0" | 4 | LICENSE = "copyleft-next-0.3.0" |
5 | LIC_FILES_CHKSUM = "file://copyleft-next-0.3.0;md5=8743a2c359037d4d329a31e79eabeffe" | 5 | LIC_FILES_CHKSUM = "file://copyleft-next-0.3.0;md5=8743a2c359037d4d329a31e79eabeffe" |
6 | 6 | ||
7 | DEPENDS = "python-m2crypto-native python-typing-native python-native \ | 7 | DEPENDS = "python-m2crypto-native python-typing-native python-native libnl \ |
8 | libgcrypt libnl openssl10" | 8 | ${@oe.utils.conditional("DEFAULT_CRYPT", "gcrypt", "libgcrypt", "", d)} \ |
9 | ${@oe.utils.conditional("DEFAULT_CRYPT", "openssl", "openssl10", "", d)} \ | ||
10 | " | ||
9 | 11 | ||
10 | SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz \ | 12 | SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz \ |
11 | file://do-not-run-ldconfig-if-destdir-is-set.patch \ | 13 | file://do-not-run-ldconfig-if-destdir-is-set.patch \ |
@@ -21,9 +23,12 @@ SRC_URI[sha256sum] = "43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e | |||
21 | 23 | ||
22 | inherit python-dir pythonnative siteinfo | 24 | inherit python-dir pythonnative siteinfo |
23 | 25 | ||
26 | # "gcrypt" or "openssl" | ||
27 | DEFAULT_CRYPT ??= "gcrypt" | ||
28 | |||
24 | # Recursive make problem | 29 | # Recursive make problem |
25 | EXTRA_OEMAKE = "MAKEFLAGS= DESTDIR=${D} LIBDIR=${libdir}/crda LDLIBREG='-Wl,-rpath,${libdir}/crda -lreg'" | 30 | EXTRA_OEMAKE = "MAKEFLAGS= DESTDIR=${D} LIBDIR=${libdir}/crda LDLIBREG='-Wl,-rpath,${libdir}/crda -lreg'" |
26 | EXTRA_OEMAKE_append = " USE_OPENSSL=1" | 31 | EXTRA_OEMAKE_append = " ${@oe.utils.conditional("DEFAULT_CRYPT", "openssl", "USE_OPENSSL=1", "", d)}" |
27 | TARGET_BITS = "${SITEINFO_BITS}" | 32 | TARGET_BITS = "${SITEINFO_BITS}" |
28 | export TARGET_BITS | 33 | export TARGET_BITS |
29 | 34 | ||