numam-dpdk/devtools
Thomas Monjalon 2722367412 devtools: load target-specific compilation environment
In order to re-use the same test environment as with
test-build.sh, the configuration file is loaded at each build,
after adjusting the variable DPDK_TARGET.

This is especially useful to set the variable PKG_CONFIG_PATH,
or define some meson options (without -D) in DPDK_MESON_OPTIONS.

The DPDK_TARGET values can be
	aarch64-*, powerpc64-*, x86_64-*.
The matching DPDK_TARGET values for test-build.sh are
	arm64-*, ppc_64-*, x86_64-*.
The advised expressions to use in the common configuration file are:
	if echo $DPDK_TARGET | grep -q '^a.*64-' ; then
	elif echo $DPDK_TARGET | grep -q '^p.*pc.*64' ; then
	elif echo $DPDK_TARGET | grep -q '^x86_64' ; then
	fi

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Luca Boccassi <bluca@debian.org>
2019-09-13 00:28:52 +02:00
..
cocci devtools/cocci: create safer version of strlcpy script 2019-04-04 22:45:33 +02:00
build-tags.sh devtools: fix building kernel component tags 2019-07-31 00:22:33 +02:00
check-dup-includes.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
check-forbidden-tokens.awk devtools: add explicit warnings for forbidden tokens 2018-11-04 21:54:04 +01:00
check-git-log.sh devtools: add git log checks for TPID, LACP and RETA 2019-04-16 00:21:16 +02:00
check-includes.sh eal: remove exec-env directory 2019-04-02 21:49:35 +02:00
check-maintainers.sh use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
check-symbol-change.sh devtools: fix check of symbol added as stable API 2019-05-10 00:19:31 +02:00
check-symbol-maps.sh devtools: check orphan symbols in map files 2018-05-29 17:43:33 +02:00
checkpatches.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
cocci.sh devtools: use a common prefix for temporary files 2018-10-01 23:51:45 +02:00
get-maintainer.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
git-log-fixes.sh use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
load-devel-config devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
test-build.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
test-meson-builds.sh devtools: load target-specific compilation environment 2019-09-13 00:28:52 +02:00
test-null.sh devtools: allow misc options in null test 2019-08-05 17:23:41 +02:00
validate-abi.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00