diff mbox series

[v2,08/15] gentree: do not prefix Kernel.local symbols

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

Commit Message

Thomas Pedersen May 13, 2022, 4:05 p.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()