diff options
author | Luis R. Rodriguez <mcgrof@suse.com> | 2014-11-05 00:35:23 -0800 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2014-11-14 13:47:15 -0800 |
commit | b55789fe997b5c30d74974416686b19256c57d9d (patch) | |
tree | f2465a865c89fa4dcf2f924bd4b64de1ad06557d /gentree.py | |
parent | 92b628272d7f022dc777370c69af8fe2399960c1 (diff) |
backports: add prefix for integration on dependencies
When integrating we need the BACKPORT prefix added to
dependency symbols.
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Diffstat (limited to 'gentree.py')
-rwxr-xr-x | gentree.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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") |