From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- src/spdk/dpdk/buildtools/symlink-drivers-solibs.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/spdk/dpdk/buildtools/symlink-drivers-solibs.sh (limited to 'src/spdk/dpdk/buildtools/symlink-drivers-solibs.sh') diff --git a/src/spdk/dpdk/buildtools/symlink-drivers-solibs.sh b/src/spdk/dpdk/buildtools/symlink-drivers-solibs.sh new file mode 100644 index 00000000..803dfec4 --- /dev/null +++ b/src/spdk/dpdk/buildtools/symlink-drivers-solibs.sh @@ -0,0 +1,12 @@ +#! /bin/sh +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2017 Intel Corporation + +# post-install script for meson/ninja builds to symlink the PMDs stored in +# $libdir/dpdk/drivers/ to $libdir. This is needed as some PMDs depend on +# others, e.g. PCI device PMDs depending on the PCI bus driver. + +# parameters to script are paths relative to install prefix: +# 1. directory containing driver files e.g. lib64/dpdk/drivers +# 2. directory for installed regular libs e.g. lib64 +ln -sf ${DESTDIR}/${MESON_INSTALL_PREFIX}/$1/* ${DESTDIR}/${MESON_INSTALL_PREFIX}/$2 -- cgit v1.2.3