summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-12 12:12:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-13 11:41:21 +0000
commit716557ae35f72c1d549e1af8d5ba84120b93e1be (patch)
tree4444092a2229806c27841b9f1e9d8410c296eaf5 /meta/classes
parent4db39d233c268f99ce73fe78af3921a18da08056 (diff)
downloadpoky-716557ae35f72c1d549e1af8d5ba84120b93e1be.tar.gz
package: Remove the before do_build constraint of the do_package task
Currently, if you bitbake xxxx, it will restore the package_write_, packagedata, populate_sysroot *and* the package data from sstate. We generally care about the packagedata and the actual packages, we no longer need/care about the do_package data itself unless something is going to repackage. By relaxing this constraint (and relying on the packagedata target), we can save things being installed from sstate and hence speedup build times. (From OE-Core rev: 4fda89477a2d7c1b3186bf4896297338ed64c448) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index b54df60d8f..042d74c17b 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1972,7 +1972,7 @@ python do_package () {
1972 1972
1973do_package[dirs] = "${SHLIBSWORKDIR} ${PKGDESTWORK} ${D}" 1973do_package[dirs] = "${SHLIBSWORKDIR} ${PKGDESTWORK} ${D}"
1974do_package[vardeps] += "${PACKAGEBUILDPKGD} ${PACKAGESPLITFUNCS} ${PACKAGEFUNCS} ${@gen_packagevar(d)}" 1974do_package[vardeps] += "${PACKAGEBUILDPKGD} ${PACKAGESPLITFUNCS} ${PACKAGEFUNCS} ${@gen_packagevar(d)}"
1975addtask package before do_build after do_install 1975addtask package after do_install
1976 1976
1977PACKAGELOCK = "${STAGING_DIR}/package-output.lock" 1977PACKAGELOCK = "${STAGING_DIR}/package-output.lock"
1978SSTATETASKS += "do_package" 1978SSTATETASKS += "do_package"