filters/makefilekconfig.py: Fix capturing group position
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
This commit is contained in:
parent
3a6a1d0764
commit
70a071bf7a
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ def replace_makefilekconfig(m):
|
|||
makefilekconfig_filters = {
|
||||
'case': 'filename',
|
||||
'match': {'Makefile'},
|
||||
'prerex': '(\$\(CONFIG_\w+\))',
|
||||
'prerex': '\$\((CONFIG_\w+)\)',
|
||||
'prefunc': keep_makefilekconfig,
|
||||
'postrex': '__KEEPMAKEFILEKCONFIG__([A-J]+)',
|
||||
'postfunc': replace_makefilekconfig
|
||||
|
|
|
|||
Loading…
Reference in a new issue