Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | SUMMARY = "Userspace support for InfiniBand/RDMA verbs" |
| 2 | DESCRIPTION = "This is the userspace components for the Linux Kernel's drivers Infiniband/RDMA subsystem." |
| 3 | SECTION = "libs" |
| 4 | |
| 5 | DEPENDS = "libnl" |
| 6 | RDEPENDS:${PN} = "bash perl" |
| 7 | |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 8 | SRC_URI = "git://github.com/linux-rdma/rdma-core.git;branch=master;protocol=https" |
| 9 | SRCREV = "91392a91eb41affee3bd75dc7d03eb86b4854aea" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 10 | S = "${WORKDIR}/git" |
| 11 | |
| 12 | #Default Dual License https://github.com/linux-rdma/rdma-core/blob/master/COPYING.md |
| 13 | LICENSE = "BSD-2-Clause | GPL-2.0-only" |
| 14 | LIC_FILES_CHKSUM = "file://COPYING.BSD_FB;md5=0ec18bae1a9df92c8d6ae01f94a289ae \ |
| 15 | file://COPYING.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 16 | |
| 17 | EXTRA_OECMAKE = " \ |
| 18 | -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR=${systemd_system_unitdir} \ |
| 19 | -DCMAKE_INSTALL_PERLDIR=${libdir}/perl5/${@get_perl_version(d)} \ |
| 20 | -DNO_MAN_PAGES=1 \ |
| 21 | " |
| 22 | |
| 23 | LTO = "" |
| 24 | |
| 25 | FILES_SOLIBSDEV = "" |
| 26 | FILES:${PN} += "${libdir}/*" |
| 27 | INSANE_SKIP:${PN} += "dev-so" |
| 28 | |
Patrick Williams | 864cc43 | 2023-02-09 14:54:44 -0600 | [diff] [blame] | 29 | inherit cmake cpan-base pkgconfig python3native python3targetconfig systemd |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 30 | |
| 31 | SYSTEMD_SERVICE:${PN} = " \ |
| 32 | srp_daemon.service \ |
| 33 | iwpmd.service \ |
| 34 | ibacm.socket \ |
| 35 | rdma-load-modules@.service \ |
| 36 | srp_daemon_port@.service \ |
| 37 | rdma-hw.target \ |
| 38 | ibacm.service \ |
| 39 | " |
| 40 | SYSTEMD_AUTO_ENABLE = "disable" |
| 41 | |
| 42 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" |