soc/intel/xeon_sp: Align resources to 4K
[coreboot2.git] / util / lint / lint-008-kconfig
blob248b51983985431d94e4ef794a0a8266e057631e
1 #!/usr/bin/env sh
3 # SPDX-License-Identifier: GPL-2.0-only
5 # DESCR: Check Kconfig files for warnings and errors
7 LINTDIR="$(
8 cd -- "$(dirname "$0")" > /dev/null 2>&1 || return
9 pwd -P
12 # shellcheck source=helper_functions.sh
13 . "${LINTDIR}/helper_functions.sh"
15 # Verify that the test can run, tell users the issue
16 if [ -z "$(command -v perl)" ]; then
17 echo "The kconfig lint tool uses perl. Please install it to run this test."
20 # Don't use git if coreboot isn't in a repo
21 if [ "${IN_GIT_TREE}" -eq 1 ]; then
22 env perl util/lint/kconfig_lint
23 else
24 env perl util/lint/kconfig_lint --no_git_grep