summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/scripts/testsoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/scripts/testsoc b/util/scripts/testsoc
index bf23e6640d..81ce2f0ee8 100755
--- a/util/scripts/testsoc
+++ b/util/scripts/testsoc
@@ -81,7 +81,7 @@ get_args() {
;;
-K | --kconfig)
shift
- mblist=$(grep -r "$1" src/mainboard | sed 's|src/mainboard/||;s|/Kconfig.*||')
+ mblist=$(grep -r "$1" src/mainboard | grep Kconfig | sed 's|src/mainboard/||;s|/Kconfig.*||')
printf "Adding mainboard for %s\n%s\n" "$1" "${mblist}"
echo
mapfile -t mainboards <<<"$mblist"