Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [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 | |
| 8 | SRC_URI = "git://github.com/linux-rdma/rdma-core.git;branch=master;protocol=https \ |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 9 | file://0001-cmake-Allow-SYSTEMCTL_BIN-to-be-overridden-from-envi.patch \ |
| 10 | file://0001-include-libgen.h-for-basename.patch \ |
| 11 | " |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 12 | SRCREV = "bc6b4bc134532e952fe7f8efc251e1f89b912098" |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | #Default Dual License https://github.com/linux-rdma/rdma-core/blob/master/COPYING.md |
| 16 | LICENSE = "BSD-2-Clause | GPL-2.0-only" |
| 17 | LIC_FILES_CHKSUM = "file://COPYING.BSD_FB;md5=0ec18bae1a9df92c8d6ae01f94a289ae \ |
| 18 | file://COPYING.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 19 | |
| 20 | EXTRA_OECMAKE = " \ |
| 21 | -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR=${systemd_system_unitdir} \ |
| 22 | -DSYSTEMCTL_BIN=${base_bindir}/systemctl \ |
| 23 | -DCMAKE_INSTALL_PERLDIR=${libdir}/perl5/${@get_perl_version(d)} \ |
| 24 | -DNO_MAN_PAGES=1 \ |
| 25 | " |
| 26 | |
| 27 | LTO = "" |
| 28 | |
| 29 | FILES_SOLIBSDEV = "" |
| 30 | FILES:${PN} += "${libdir}/*" |
| 31 | INSANE_SKIP:${PN} += "dev-so" |
| 32 | |
| 33 | inherit cmake cpan-base pkgconfig python3native python3targetconfig systemd |
| 34 | |
| 35 | SYSTEMD_SERVICE:${PN} = " \ |
| 36 | srp_daemon.service \ |
| 37 | iwpmd.service \ |
| 38 | ibacm.socket \ |
| 39 | rdma-load-modules@.service \ |
| 40 | srp_daemon_port@.service \ |
| 41 | rdma-hw.target \ |
| 42 | ibacm.service \ |
| 43 | " |
| 44 | SYSTEMD_AUTO_ENABLE = "disable" |
| 45 | |
| 46 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" |