2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # DESCR: Check that every vendor and board has a Kconfig.name
9 for i
in src
/mainboard
/*/; do
10 if [ -r $i/Kconfig
]; then
11 if [ ! -r $i/Kconfig.name
]; then
12 VENDOR
="$(grep -A2 MAINBOARD_VENDOR $i/Kconfig | tail -1 | cut -f2 -d\")"
13 echo "Vendor $VENDOR missing $i/Kconfig.name."
19 for i
in src
/mainboard
/*/*/; do
20 if [ -r $i/Kconfig
]; then
21 if [ ! -r $i/Kconfig.name
]; then
22 BOARD
="$(grep -A2 MAINBOARD_PART_NUMBER $i/Kconfig | tail -1 | cut -f2 -d\")"
23 echo "Mainboard $BOARD missing $i/Kconfig.name"