summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/check-configs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-configs.pl b/scripts/check-configs.pl
index 39df8f4ad..c74acf1d4 100644
--- a/scripts/check-configs.pl
+++ b/scripts/check-configs.pl
@@ -74,7 +74,7 @@ sub main {
my (@tmp) = parse_shipped( $shipped );
foreach my $ref ( @tmp ) {
say( STDERR "$shipped:$ref->[0]: No Kconfig symbol matches 'CONFIG_$ref->[1]'" )
- unless (grep( /$ref->[1]/, keys( %configs )));
+ unless (grep( /^$ref->[1]$/, keys( %configs )));
}
}