From b55789fe997b5c30d74974416686b19256c57d9d Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Wed, 5 Nov 2014 00:35:23 -0800 Subject: [PATCH] backports: add prefix for integration on dependencies When integrating we need the BACKPORT prefix added to dependency symbols. Signed-off-by: Luis R. Rodriguez --- gentree.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gentree.py b/gentree.py index 40b0a55cfe9f..dd7af84a4ffa 100755 --- a/gentree.py +++ b/gentree.py @@ -921,7 +921,10 @@ def process(kerneldir, outdir, copy_list_file, git_revision=None, new.append('BACKPORT_DISABLED_KCONFIG_OPTION') else: new.append('!BACKPORT_KERNEL_%s' % dep.replace('.', '_')) - deplist[sym] = new + if bpid.integrate: + deplist[sym] = ["BACKPORT_" + x for x in new] + else: + deplist[sym] = new configtree.add_dependencies(deplist) git_debug_snapshot(args, "add kernel version dependencies") -- 2.30.2