diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-06 16:49:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-06 16:52:20 +0000 |
commit | 7980773d909a5373b7e21a973428bbb9d4be6182 (patch) | |
tree | 4c2417c1df9f0a39be801a65495be7eaa55d42b3 /meta/classes/package.bbclass | |
parent | 3b39e5307cf676966cee9cf0ff64ec795bb732de (diff) | |
download | poky-7980773d909a5373b7e21a973428bbb9d4be6182.tar.gz |
package.bbclass: Ensure package_get_auto_pr is run at the correct point
This needs to run before PKGR and other variables using PRAUTO are used,
including the expansion optimisations.
(From OE-Core rev: eb09ebc9680eb50e23778dcc1c2697d13cf073ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index a78f11130f..69a4924ebb 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1771,7 +1771,6 @@ PACKAGESPLITFUNCS ?= " \ | |||
1771 | PACKAGEFUNCS ?= " \ | 1771 | PACKAGEFUNCS ?= " \ |
1772 | package_fixsymlinks \ | 1772 | package_fixsymlinks \ |
1773 | package_name_hook \ | 1773 | package_name_hook \ |
1774 | package_get_auto_pr \ | ||
1775 | package_do_filedeps \ | 1774 | package_do_filedeps \ |
1776 | package_do_shlibs \ | 1775 | package_do_shlibs \ |
1777 | package_do_pkgconfig \ | 1776 | package_do_pkgconfig \ |
@@ -1805,6 +1804,8 @@ python do_package () { | |||
1805 | bb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package") | 1804 | bb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package") |
1806 | return | 1805 | return |
1807 | 1806 | ||
1807 | bb.build.exec_func("package_get_auto_pr", d) | ||
1808 | |||
1808 | ########################################################################### | 1809 | ########################################################################### |
1809 | # Optimisations | 1810 | # Optimisations |
1810 | ########################################################################### | 1811 | ########################################################################### |