mirror of
git://git.yoctoproject.org/meta-dpdk.git
synced 2025-07-19 12:59:03 +02:00

dpdk-dev-libibverbs is not the only recipe that provides libibverbs. In meta-cloud-services, we have a recipe called libibverbs. As both recipes provide the same library, we need to avoid building both at the same time at one build. Use 'virtual/libibverbs' to avoid such problem. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
31 lines
1.1 KiB
BlitzBasic
31 lines
1.1 KiB
BlitzBasic
DESCRIPTION = "libibverbs library to support Mellanox config"
|
|
HOMEPAGE = "https://github.com/Mellanox/dpdk-dev-libibverbs"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=7c557f27dd795ba77cc419dddc656b51"
|
|
|
|
SRC_URI = "https://github.com/Mellanox/dpdk-dev-libibverbs/archive/libibverbs-${PV}.tar.gz \
|
|
file://init_c.patch \
|
|
file://0001-Fix-build-with-clang.patch \
|
|
file://0002-typecast-enum-to-int-before-comparison.patch \
|
|
file://0003-initialize-use_config_mr.patch \
|
|
file://0004-Fix-clang-warnings.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "65234ee278eb437a7069326f37cd4d86"
|
|
SRC_URI[sha256sum] = "a6471515556cb8d10ad471bb7efb8cf760b248a28aceb57d4534d50d572f56cd"
|
|
|
|
# A machine needs to enable this using:
|
|
# COMPATIBLE_MACHINE_pn-dpdk-dev-libibverbs = "<machine name>"
|
|
|
|
COMPATIBLE_MACHINE = "null"
|
|
COMPATIBLE_HOST_libc-musl_class-target = "null"
|
|
|
|
S = "${WORKDIR}/dpdk-dev-libibverbs-libibverbs-${PV}"
|
|
COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
|
|
DEPENDS = "libnl"
|
|
|
|
PROVIDES = "virtual/libibverbs"
|
|
RPROVIDES_${PN} = "virtual/libibverbs"
|
|
|
|
inherit pkgconfig autotools
|