Debian Codegraph @

util/lint/lint-stable-017-configs

raw symbols SCIP
1 #!/usr/bin/env sh
2 #
3 # SPDX-License-Identifier: GPL-2.0-only
4
5 # DESCR: Check that saved config files are miniconfigs
6
7 LINTDIR="$(
8 cd -- "$(dirname "$0")" > /dev/null 2>&1 || return
9 pwd -P
10 )"
11
12 # shellcheck source=helper_functions.sh
13 . "${LINTDIR}/helper_functions.sh"
14
15 SYMBOLS='CONFIG_MAINBOARD_DIR\|CONFIG_MAINBOARD_HAS_'
16
17 #look for a couple of things that should only be set by select keywords
18 for file in \
19 $(${GREP_FILES} -l "$SYMBOLS" configs) ; do \
20 echo "Error: $file seems to be a full config"; \
21 done