diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-10 09:24:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-11 18:03:31 +0100 |
commit | a246af9bf76d6a06e6d5f371710e54944e007161 (patch) | |
tree | a740528bd0da6ca469e438af29938de1234772be /meta/classes/package_ipk.bbclass | |
parent | a50af4d540539838e9ef70ba3d91ffb4e8aa353d (diff) | |
download | poky-a246af9bf76d6a06e6d5f371710e54944e007161.tar.gz |
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.
(From OE-Core rev: 74daad03ca29a03b0005f7d2b90a0347d5b583a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 0e4fea8d53..73ec0ee14e 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -367,7 +367,7 @@ python do_package_ipk () { | |||
367 | raise bb.build.FuncFailed("Missing field for ipk generation: %s" % value) | 367 | raise bb.build.FuncFailed("Missing field for ipk generation: %s" % value) |
368 | # more fields | 368 | # more fields |
369 | 369 | ||
370 | bb.build.exec_func("mapping_rename_hook", localdata) | 370 | mapping_rename_hook(localdata) |
371 | 371 | ||
372 | rdepends = bb.utils.explode_dep_versions(localdata.getVar("RDEPENDS", True) or "") | 372 | rdepends = bb.utils.explode_dep_versions(localdata.getVar("RDEPENDS", True) or "") |
373 | rrecommends = bb.utils.explode_dep_versions(localdata.getVar("RRECOMMENDS", True) or "") | 373 | rrecommends = bb.utils.explode_dep_versions(localdata.getVar("RRECOMMENDS", True) or "") |