4a4a20c477
- As "readlink -e" and "readlink -m" do not exist on freebsd, use "readlink -f", it should not have any impact in these cases. - "sed -ri" is invalid on freebsd and should be replaced by "sed -ri=''" - Use gmake instead of make. This fixes the following command: SYSDIR=/usr/src/sys ./devtools/test-build.sh \ -j4 x86_64-native-freebsd-gcc Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
13 lines
420 B
Plaintext
13 lines
420 B
Plaintext
# Load DPDK devel config and allow override
|
|
# from system file
|
|
test ! -r /etc/dpdk/devel.config ||
|
|
. /etc/dpdk/devel.config
|
|
# from user file
|
|
test ! -r ~/.config/dpdk/devel.config ||
|
|
. ~/.config/dpdk/devel.config
|
|
# from local file
|
|
test ! -r $(dirname $(readlink -f $0))/../.develconfig ||
|
|
. $(dirname $(readlink -f $0))/../.develconfig
|
|
|
|
# The config files must export variables in the shell style
|