xref: /dpdk/devtools/load-devel-config (revision 6081c4be1dea151614b9f1f35deb37542b1d8c1f)
1*6081c4beSStephen Hemminger# SPDX-License-Identifier: BSD-3-Clause
2*6081c4beSStephen Hemminger
3*6081c4beSStephen Hemminger# This file is intended to be sourced into shell
4*6081c4beSStephen Hemminger
59a98f50eSThomas Monjalon# Load DPDK devel config and allow override
69a98f50eSThomas Monjalon# from system file
79a98f50eSThomas Monjalontest ! -r /etc/dpdk/devel.config ||
89a98f50eSThomas Monjalon        . /etc/dpdk/devel.config
99a98f50eSThomas Monjalon# from user file
109a98f50eSThomas Monjalontest ! -r ~/.config/dpdk/devel.config ||
119a98f50eSThomas Monjalon        . ~/.config/dpdk/devel.config
129a98f50eSThomas Monjalon# from local file
134a4a20c4SOlivier Matztest ! -r $(dirname $(readlink -f $0))/../.develconfig ||
144a4a20c4SOlivier Matz        . $(dirname $(readlink -f $0))/../.develconfig
159a98f50eSThomas Monjalon
169a98f50eSThomas Monjalon# The config files must export variables in the shell style
17