Debian Codegraph @

util/lint/lint-stable-029-kconfig-name-selects

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. sh
2 # SPDX-License-Identifier: GPL-2.0-or-later
3 #
4 # DESCR: Check that boards don't use select Kconfig.name
5
6 export LC_ALL=C
7 FAIL=0
8
9 for board in src/mainboard/*/*; do
10 if [scip-shell system . . `[`. -f ${board}/Kconfig.name ] && grepscip-shell system . . grep. -q "select " "${board}/Kconfig.name"; then
11 echoscip-shell system . . echo. "Mainboard ${board} uses 'select' in Kconfig.name"
12 FAIL=1
13 fi
14 done
15
16 exit ${FAIL}