diff options
author | Richard Purdie <richard@openedhand.com> | 2007-05-09 09:54:54 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-05-09 09:54:54 +0000 |
commit | 9697c0ca8bfaaf5b45fbfe4d0bba637d31d13cb7 (patch) | |
tree | eaf9fe0d81b72ac8fc47d20c7880a404135c3855 /meta/classes | |
parent | ebb524517a87b5433c89751c4c1a3768614f46ad (diff) | |
download | poky-9697c0ca8bfaaf5b45fbfe4d0bba637d31d13cb7.tar.gz |
package.bbclass: do_package[deptask] only needs to be set when PACKAGES != ""
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1619 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 416bf98c6b..0a0daffd98 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -130,6 +130,9 @@ python () { | |||
130 | for dep in (bb.data.getVar('PACKAGE_EXTRA_DEPENDS', d, True) or "").split(): | 130 | for dep in (bb.data.getVar('PACKAGE_EXTRA_DEPENDS', d, True) or "").split(): |
131 | deps += " %s:do_populate_staging" % dep | 131 | deps += " %s:do_populate_staging" % dep |
132 | bb.data.setVarFlag('do_package_write', 'depends', deps, d) | 132 | bb.data.setVarFlag('do_package_write', 'depends', deps, d) |
133 | |||
134 | # shlibs requires any DEPENDS to have already packaged for the *.list files | ||
135 | bb.data.setVarFlag('do_package', 'deptask', 'do_package', d) | ||
133 | } | 136 | } |
134 | 137 | ||
135 | # file(1) output to match to consider a file an unstripped executable | 138 | # file(1) output to match to consider a file an unstripped executable |
@@ -899,8 +902,6 @@ python package_do_package () { | |||
899 | for f in (bb.data.getVar('PACKAGEFUNCS', d, 1) or '').split(): | 902 | for f in (bb.data.getVar('PACKAGEFUNCS', d, 1) or '').split(): |
900 | bb.build.exec_func(f, d) | 903 | bb.build.exec_func(f, d) |
901 | } | 904 | } |
902 | # shlibs requires any DEPENDS to have already packaged for the *.list files | ||
903 | do_package[deptask] = "do_package" | ||
904 | do_package[dirs] = "${D}" | 905 | do_package[dirs] = "${D}" |
905 | addtask package before do_build after do_install | 906 | addtask package before do_build after do_install |
906 | 907 | ||