numam-dpdk/config
Bruce Richardson e09848337c build: fix ninja install on FreeBSD
The post-install script to symlink the PMDs from their own PMD directory to
the regular lib directory (so they would be found by ld at runtime) was
using the "-r" flag to ln to create relative symlinks. This flag is
unsupported by ln on FreeBSD causing the ninja install step to fail.

Reworking the script to take the relative driver path as parameter removes
the need for ln to calculate the relative path ensuring compatibility with
FreeBSD.

As part of the fix, we move the registration of the install script to the
config/meson.build file, from the top level one. This improves readability
as the script takes as parameters the variables set in that file.

Fixes: ed4d43d73e ("build: symlink drivers to library directory")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
2019-05-02 23:07:04 +02:00
..
arm config: add Mellanox BlueField for meson cross-compilation 2019-04-18 18:22:42 +02:00
ppc_64 build: set RTE_ARCH_64 based on pointer size 2019-02-26 18:34:28 +01:00
x86 build: reduce indentation in meson check 2019-05-02 17:48:08 +02:00
common_armv8a_linux mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
common_base rcu: add RCU library supporting QSBR mechanism 2019-05-02 01:32:41 +02:00
common_freebsd mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
common_linux mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-armv8a-linux-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-armv8a-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-armv8a-linuxapp-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-armv8a-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-bluefield-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-bluefield-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-dpaa2-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-dpaa2-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-dpaa-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-dpaa-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-octeontx2-linux-gcc config: add octeontx2 machine 2019-04-15 22:58:20 +02:00
defconfig_arm64-octeontx2-linuxapp-gcc config: add octeontx2 machine 2019-04-15 22:58:20 +02:00
defconfig_arm64-stingray-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-stingray-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-thunderx2-linux-gcc config: add thunderx2 machine 2019-04-15 22:57:29 +02:00
defconfig_arm64-thunderx2-linuxapp-gcc config: add thunderx2 machine 2019-04-15 22:57:29 +02:00
defconfig_arm64-thunderx-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-thunderx-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-xgene1-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm64-xgene1-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm-armv7a-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_arm-armv7a-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_i686-native-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_i686-native-linux-icc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_i686-native-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_i686-native-linuxapp-icc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_ppc_64-power8-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_ppc_64-power8-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-bsdapp-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-bsdapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-freebsd-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-freebsd-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linux-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linux-icc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linuxapp-clang mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_64-native-linuxapp-icc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_x32-native-linux-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
defconfig_x86_x32-native-linuxapp-gcc mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
meson.build build: fix ninja install on FreeBSD 2019-05-02 23:07:04 +02:00
rte_config.h config: increase maximum number of raw devices to 64 2019-04-05 00:26:02 +02:00