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 | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 8 | SRC_URI = "git://github.com/linux-rdma/rdma-core.git;branch=master;protocol=https \ |
| 9 | file://0001-examples-Include-alloca.h-for-strdupa.patch \ |
| 10 | " |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 11 | SRCREV = "196bad56ed060612e22674b668b5ec3d8659ade3" |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | #Default Dual License https://github.com/linux-rdma/rdma-core/blob/master/COPYING.md |
| 15 | LICENSE = "BSD-2-Clause | GPL-2.0-only" |
| 16 | LIC_FILES_CHKSUM = "file://COPYING.BSD_FB;md5=0ec18bae1a9df92c8d6ae01f94a289ae \ |
| 17 | file://COPYING.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 18 | |
| 19 | EXTRA_OECMAKE = " \ |
| 20 | -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR=${systemd_system_unitdir} \ |
| 21 | -DCMAKE_INSTALL_PERLDIR=${libdir}/perl5/${@get_perl_version(d)} \ |
| 22 | -DNO_MAN_PAGES=1 \ |
| 23 | " |
| 24 | |
| 25 | LTO = "" |
| 26 | |
| 27 | FILES_SOLIBSDEV = "" |
| 28 | FILES:${PN} += "${libdir}/*" |
| 29 | INSANE_SKIP:${PN} += "dev-so" |
| 30 | |
Patrick Williams | 864cc43 | 2023-02-09 14:54:44 -0600 | [diff] [blame^] | 31 | inherit cmake cpan-base pkgconfig python3native python3targetconfig systemd |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 32 | |
| 33 | SYSTEMD_SERVICE:${PN} = " \ |
| 34 | srp_daemon.service \ |
| 35 | iwpmd.service \ |
| 36 | ibacm.socket \ |
| 37 | rdma-load-modules@.service \ |
| 38 | srp_daemon_port@.service \ |
| 39 | rdma-hw.target \ |
| 40 | ibacm.service \ |
| 41 | " |
| 42 | SYSTEMD_AUTO_ENABLE = "disable" |
| 43 | |
| 44 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" |