streamline_config.pl: handle also ${CONFIG_FOO}
authorJiri Slaby <jslaby@suse.cz>
Wed, 7 Jun 2023 06:14:17 +0000 (08:14 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 8 Jun 2023 02:11:32 +0000 (11:11 +0900)
commit98d7c7544a3a9f2713dc0f729bca4ab05fbc6e7f
tree0c834c5e3c85c5c1fc268529581fb0a000f1a436
parent43fc0a99906e04792786edf8534d8d58d1e9de0c
streamline_config.pl: handle also ${CONFIG_FOO}

streamline_config.pl currently searches for CONFIG options in Kconfig
files as $(CONFIG_FOO). But some Kconfigs (e.g. thunderbolt) use
${CONFIG_FOO}. So fix up the regex to accept both.

This fixes:
$ make LSMOD=`pwd/`/lsmod localmodconfig
using config: '.config'
thunderbolt config not found!!

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/streamline_config.pl