diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2013-01-03 11:01:07 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-07 11:09:44 +0000 |
commit | faf94a9d6d417f0a9e35c6b8533bb870ea2f486b (patch) | |
tree | a3756f2d0b424c1407a07ad0a3d416d60ad19a16 /meta/classes/package.bbclass | |
parent | 2d5781ac46417725a3f81428f9208e3981b6c151 (diff) | |
download | poky-faf94a9d6d417f0a9e35c6b8533bb870ea2f486b.tar.gz |
package.bbclass: Skip testing "packages" a second time.
Since the "packages" variable is already tested a few lines above in
the same routine:
if len(packages) < 1:
bb.debug(1, "No packages to build, skipping do_package")
return
there is no point testing it again, and the error message doesn't even
refer to "packages", anyway.
(From OE-Core rev: 371fbacff47828cfff99f1152f9e269e27c474da)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 34bbc46d2a..b06cca5f57 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1885,7 +1885,7 @@ python do_package () { | |||
1885 | dvar = d.getVar('PKGD', True) | 1885 | dvar = d.getVar('PKGD', True) |
1886 | pn = d.getVar('PN', True) | 1886 | pn = d.getVar('PN', True) |
1887 | 1887 | ||
1888 | if not workdir or not outdir or not dest or not dvar or not pn or not packages: | 1888 | if not workdir or not outdir or not dest or not dvar or not pn: |
1889 | bb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package") | 1889 | bb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package") |
1890 | return | 1890 | return |
1891 | 1891 | ||