dpdk/buildtools/symlink-drivers-solibs.sh
<<
>>
Prefs
   1#! /bin/sh
   2# SPDX-License-Identifier: BSD-3-Clause
   3# Copyright(c) 2017 Intel Corporation
   4
   5# post-install script for meson/ninja builds to symlink the PMDs stored in
   6# $libdir/dpdk/drivers/ to $libdir. This is needed as some PMDs depend on
   7# others, e.g. PCI device PMDs depending on the PCI bus driver.
   8
   9# parameters to script are paths relative to install prefix:
  10# 1. directory for installed regular libs e.g. lib64
  11# 2. subdirectory of libdir where the pmds are
  12
  13cd ${MESON_INSTALL_DESTDIR_PREFIX}/$1 && ln -sfv $2/librte_*.so* .
  14