From: Luis R. Rodriguez Date: Wed, 5 Nov 2014 08:35:23 +0000 (-0800) Subject: backports: add prefix for integration on dependencies X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b55789fe997b5c30d74974416686b19256c57d9d;p=openwrt%2Fstaging%2Fblogic.git backports: add prefix for integration on dependencies When integrating we need the BACKPORT prefix added to dependency symbols. Signed-off-by: Luis R. Rodriguez --- 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")