From 5eb1f0c4c5074f00f54d5c26d56c13b5952ed966 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Sat, 30 Mar 2013 19:48:20 +0100 Subject: [PATCH] also change CONFIG_*_MODULE Signed-off-by: Johannes Berg --- gentree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentree.py b/gentree.py index 48684c389a23..53cae5df14da 100755 --- a/gentree.py +++ b/gentree.py @@ -127,7 +127,7 @@ def main(): # XXX Apply patches here!! # rewrite Makefile and source symbols - r = 'CONFIG_((' + '|'.join(symbols) + ')([^A-Za-z0-9_]|$))' + r = 'CONFIG_((' + '|'.join([s + '(_MODULE)?' for s in symbols]) + ')([^A-Za-z0-9_]|$))' r = re.compile(r, re.MULTILINE) for root, dirs, files in os.walk(args.outdir): for f in files: -- 2.30.2