summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-06 16:49:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-06 16:51:20 +0000
commiteb09ebc9680eb50e23778dcc1c2697d13cf073ae (patch)
treec821b3619a103907acca406c4c6ed6283316c6d8 /meta/classes/package.bbclass
parent65b2f068719f4cd6e1bd438e8714c2977bd93535 (diff)
downloadopenembedded-core-eb09ebc9680eb50e23778dcc1c2697d13cf073ae.tar.gz
openembedded-core-eb09ebc9680eb50e23778dcc1c2697d13cf073ae.tar.bz2
openembedded-core-eb09ebc9680eb50e23778dcc1c2697d13cf073ae.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass3
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 ?= " \
PACKAGEFUNCS ?= " \
package_fixsymlinks \
package_name_hook \
- package_get_auto_pr \
package_do_filedeps \
package_do_shlibs \
package_do_pkgconfig \
@@ -1805,6 +1804,8 @@ python do_package () {
bb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package")
return
+ bb.build.exec_func("package_get_auto_pr", d)
+
###########################################################################
# Optimisations
###########################################################################