diff mbox series

[4/7] gentree: do not prefix Kernel.local symbols

Message ID 20211124055505.1267128-5-thomas@adapt-ip.com (mailing list archive)
State New, archived
Headers show
Series Resurrect backports Integration Mode | expand

Commit Message

Thomas Pedersen Nov. 24, 2021, 5:55 a.m. UTC
In package mode the prefix is empty, so the ignore list
does not matter. In integration mode there is a nonzero
prefix, so add Kconfig.local to the ignore list like
elsewhere in gentree.py.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
---
 gentree.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gentree.py b/gentree.py
index 0576e14d6fe5..9699ce0128d0 100755
--- a/gentree.py
+++ b/gentree.py
@@ -235,7 +235,7 @@  def add_automatic_backports(args):
     export = re.compile(r'^EXPORT_SYMBOL(_GPL)?\((?P<sym>[^\)]*)\)')
     bpi = kconfig.get_backport_info(os.path.join(args.bpid.target_dir, 'compat', 'Kconfig'))
     configtree = kconfig.ConfigTree(os.path.join(args.bpid.target_dir, 'Kconfig'), args.bpid)
-    ignore=['Kconfig.kernel', 'Kconfig.versions']
+    ignore=['Kconfig.kernel', 'Kconfig.versions', 'Kconfig.local']
     configtree.verify_sources(ignore=ignore)
     git_debug_snapshot(args, "verify sources for automatic backports")
     all_selects = configtree.all_selects()