summaryrefslogtreecommitdiff
path: root/meta/classes/package_deb.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-10 09:24:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-11 18:03:26 +0100
commit74daad03ca29a03b0005f7d2b90a0347d5b583a5 (patch)
treeceadde74b6f86c4b061b301ecec2755386b28998 /meta/classes/package_deb.bbclass
parent9cd30beba77497288eeb2545920bc23f2a77cf16 (diff)
downloadopenembedded-core-74daad03ca29a03b0005f7d2b90a0347d5b583a5.tar.gz
openembedded-core-74daad03ca29a03b0005f7d2b90a0347d5b583a5.tar.bz2
openembedded-core-74daad03ca29a03b0005f7d2b90a0347d5b583a5.tar.xz
openembedded-core-74daad03ca29a03b0005f7d2b90a0347d5b583a5.zip
package.bbclass: Drop EXPORT_FUNCTIONS use against mapping_rename_hook
The usage of this function renaming and it being called using bb.build.exec_func() causes needless indirection loops, confusing log files and seems generally pointless. This simplification makes the process much simpler and faster. I can't come up with a good reason why the export_functions functionality is needed for this function. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r--meta/classes/package_deb.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index dc0f96366..4096fa2b8 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -330,7 +330,7 @@ python do_package_deb () {
raise bb.build.FuncFailed("Missing field for deb generation: %s" % value)
# more fields
- bb.build.exec_func("mapping_rename_hook", localdata)
+ mapping_rename_hook(localdata)
rdepends = bb.utils.explode_dep_versions(localdata.getVar("RDEPENDS", True) or "")
for dep in rdepends: