diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-01-22 15:52:02 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-01-22 15:53:49 +0000 |
| commit | 1d47e25958506b7c3b9e01ae6eff4c3e7ebda8cb (patch) | |
| tree | 873503f024c6e7a6bd7769359760ceceed214fbb | |
| parent | 8f6ebd264da8e57707e59568d5d5cc22449acb00 (diff) | |
| download | meta-virtualization-1d47e25958506b7c3b9e01ae6eff4c3e7ebda8cb.tar.gz | |
libibverbs: import frmo meta-cloud-services
To allow ceph to build without meta-cloud-services in the bblayers, we
import libibverbs into meta-virtualization.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-extended/libibverbs/libibverbs_1.2.1.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-extended/libibverbs/libibverbs_1.2.1.bb b/recipes-extended/libibverbs/libibverbs_1.2.1.bb new file mode 100644 index 00000000..fa7eee62 --- /dev/null +++ b/recipes-extended/libibverbs/libibverbs_1.2.1.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | SUMMARY = "Support InfiniBand verbs" | ||
| 2 | DESCRIPTION = "Libibverbs is a library that allows userspace processes to use InfiniBand/RDMA 'verbs' directly." | ||
| 3 | HOMEPAGE = "http://www.openfabrics.org/downloads/verbs/" | ||
| 4 | SECTION = "libs/devel" | ||
| 5 | |||
| 6 | LICENSE = "BSD" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=7c557f27dd795ba77cc419dddc656b51" | ||
| 8 | |||
| 9 | # Official repo is at git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git | ||
| 10 | SRC_URI = "https://www.openfabrics.org/downloads/verbs/${BPN}-${PV}.tar.gz" | ||
| 11 | |||
| 12 | SRC_URI[md5sum] = "1544ebb89d861ce84057ab43dfcd22a0" | ||
| 13 | SRC_URI[sha256sum] = "c352a7f24e9a9d30ea74faa35d1b721d78d770506a0c03732e3132b7c85ac330" | ||
| 14 | |||
| 15 | inherit autotools | ||
| 16 | |||
| 17 | DEPENDS = "libnl pkgconfig-native" | ||
| 18 | PACKAGES += "${PN}-utils" | ||
| 19 | FILES_${PN} = "${sysconfdir} ${libdir}/*.so.*" | ||
| 20 | FILES_${PN}-utils = "${bindir}" | ||
| 21 | |||
| 22 | PACKAGECONFIG ??= "" | ||
| 23 | PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind," | ||
| 24 | |||
| 25 | do_install_append() { | ||
| 26 | mkdir -p ${D}${sysconfdir}/libibverbs.d | ||
| 27 | rm -f ${D}${libdir}/libibverbs.la | ||
| 28 | } | ||
| 29 | |||
| 30 | PROVIDES = "virtual/libibverbs" | ||
| 31 | RPROVIDES_${PN} = "virtual/libibverbs" | ||
| 32 | |||
| 33 | COMPATIBLE_HOST_mipsarch = "none" | ||
| 34 | COMPATIBLE_HOST_arm = "none" | ||
