xref: /dpdk/devtools/load-devel-config (revision 6081c4be1dea151614b9f1f35deb37542b1d8c1f)
1# SPDX-License-Identifier: BSD-3-Clause
2
3# This file is intended to be sourced into shell
4
5# Load DPDK devel config and allow override
6# from system file
7test ! -r /etc/dpdk/devel.config ||
8        . /etc/dpdk/devel.config
9# from user file
10test ! -r ~/.config/dpdk/devel.config ||
11        . ~/.config/dpdk/devel.config
12# from local file
13test ! -r $(dirname $(readlink -f $0))/../.develconfig ||
14        . $(dirname $(readlink -f $0))/../.develconfig
15
16# The config files must export variables in the shell style
17