diff options
Diffstat (limited to 'meta/classes-global/package.bbclass')
-rw-r--r-- | meta/classes-global/package.bbclass | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index 5c250776f8..d334da6fb3 100644 --- a/meta/classes-global/package.bbclass +++ b/meta/classes-global/package.bbclass | |||
@@ -607,16 +607,3 @@ python do_packagedata_setscene () { | |||
607 | } | 607 | } |
608 | addtask do_packagedata_setscene | 608 | addtask do_packagedata_setscene |
609 | 609 | ||
610 | # | ||
611 | # Helper functions for the package writing classes | ||
612 | # | ||
613 | |||
614 | def mapping_rename_hook(d): | ||
615 | """ | ||
616 | Rewrite variables to account for package renaming in things | ||
617 | like debian.bbclass or manual PKG variable name changes | ||
618 | """ | ||
619 | pkg = d.getVar("PKG") | ||
620 | oe.packagedata.runtime_mapping_rename("RDEPENDS", pkg, d) | ||
621 | oe.packagedata.runtime_mapping_rename("RRECOMMENDS", pkg, d) | ||
622 | oe.packagedata.runtime_mapping_rename("RSUGGESTS", pkg, d) | ||