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