blob: 82a297b33e5b819f4a6bb7283269536a228b79e8 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Wireless Central Regulatory Domain Agent"
2HOMEPAGE = "http://wireless.kernel.org/en/developers/Regulatory/CRDA"
3SECTION = "net"
Patrick Williamsddad1a12017-02-23 20:36:32 -06004LICENSE = "copyleft-next-0.3.0"
5LIC_FILES_CHKSUM = "file://copyleft-next-0.3.0;md5=8743a2c359037d4d329a31e79eabeffe"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05006
Brad Bishop6e60e8b2018-02-01 10:27:11 -05007DEPENDS = "python-m2crypto-native python-typing-native python-native libgcrypt libnl openssl"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05008
Patrick Williamsddad1a12017-02-23 20:36:32 -06009SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050010 file://do-not-run-ldconfig-if-destdir-is-set.patch \
11 file://fix-linking-of-libraries-used-by-reglib.patch \
Patrick Williamsddad1a12017-02-23 20:36:32 -060012 file://fix-gcc-6-unused-variables.patch \
13 file://0001-Makefile-respect-LDFLAGS-for-libreg.patch \
Brad Bishop7f28bc52017-12-03 23:42:40 -050014 file://make.patch \
15 file://use-target-word-size-instead-of-host-s.patch \
16 file://fix-issues-when-USE_OPENSSL-1.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017"
Patrick Williamsddad1a12017-02-23 20:36:32 -060018SRC_URI[md5sum] = "0431fef3067bf503dfb464069f06163a"
19SRC_URI[sha256sum] = "43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e8ecdbf"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020
21inherit python-dir pythonnative
22# Recursive make problem
23EXTRA_OEMAKE = "MAKEFLAGS= DESTDIR=${D} LIBDIR=${libdir}/crda LDLIBREG='-Wl,-rpath,${libdir}/crda -lreg'"
Brad Bishop7f28bc52017-12-03 23:42:40 -050024EXTRA_OEMAKE_append = " USE_OPENSSL=1"
25TARGET_BITS = "${SITEINFO_BITS}"
26export TARGET_BITS
Patrick Williamsb48b7b42016-08-17 15:04:38 -050027
28do_compile() {
29 oe_runmake all_noverify
30}
31
32do_install() {
33 oe_runmake SBINDIR=${sbindir}/ install
Patrick Williamsb48b7b42016-08-17 15:04:38 -050034}
35
Patrick Williamsddad1a12017-02-23 20:36:32 -060036RDEPENDS_${PN} = "udev wireless-regdb"