moveconfig: Allow regex matches when finding combinations
authorSimon Glass <sjg@chromium.org>
Tue, 8 Feb 2022 18:49:46 +0000 (11:49 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Feb 2022 17:05:44 +0000 (10:05 -0700)
commit941671a19cfb8e0fad3bd2a11ab5137e43c2ddc5
tree8ab3302c5dff8d4cff9518218bb97d8ac7e16b79
parentb8d11da0d09aed23c880e572144148d8c9d4cd64
moveconfig: Allow regex matches when finding combinations

It is useful to be able to search for CONFIG options that match a regex,
such as this, which lists boards which define SPL_FIT_GENERATOR and
anything not starting with ROCKCHIP:

   ./tools/moveconfig.py -f SPL_FIT_GENERATOR ~ROCKCHIP.*

Add support for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/moveconfig.py