summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-08-11 23:47:10 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-08-11 23:47:10 +0000
commitc74d46a9d30b3b4c33be0c7559ef9db6f05b9143 (patch)
tree75bdc65ee55efde242b4c1eb905d039fdb6c35d5
parent488032d21d4d571dc63eba59174a264612305377 (diff)
package.bbclass: Only set the do_package dependency when we have packages to generate (PACKAGES != ) removing needless dependencies (from poky)
-rw-r--r--classes/package.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index e044395347..30672a6694 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -131,6 +131,9 @@ python () {
for dep in (bb.data.getVar('PACKAGE_EXTRA_DEPENDS', d, True) or "").split():
deps += " %s:do_populate_staging" % dep
bb.data.setVarFlag('do_package_write', 'depends', deps, d)
+
+ # shlibs requires any DEPENDS to have already packaged for the *.list files
+ bb.data.setVarFlag('do_package', 'deptask', 'do_package', d)
}
# file(1) output to match to consider a file an unstripped executable
@@ -887,8 +890,6 @@ python package_do_package () {
for f in (bb.data.getVar('PACKAGEFUNCS', d, 1) or '').split():
bb.build.exec_func(f, d)
}
-# shlibs requires any DEPENDS to have already packaged for the *.list files
-do_package[deptask] = "do_package"
do_package[dirs] = "${D}"
addtask package before do_build after do_install