aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-12-01 18:56:58 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-12-01 18:56:58 +0000
commitf4d1946202890cf7a8821600251d30c75a20e0db (patch)
treeea2ea52b7c9280f3f1a9fee031f7641ec25334ed
parentc68559d0bf023bae14033ae60d7dffaf1bc4afb6 (diff)
downloadopenembedded-f4d1946202890cf7a8821600251d30c75a20e0db.tar.gz
package.bbclass: Ensure 'packaged' pkgdata stamp is emitted for packages using ALLOW_EMPTY instead of ALLOW_EMTPY_pkg (from poky)
-rw-r--r--classes/package.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 6c61f7bdda..3f7a5dc9df 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -604,6 +604,8 @@ python emit_pkgdata() {
sf.close()
allow_empty = bb.data.getVar('ALLOW_EMPTY_%s' % pkg, d, 1)
+ if not allow_empty:
+ allow_empty = bb.data.getVar('ALLOW_EMPTY', d, 1)
root = "%s/install/%s" % (workdir, pkg)
os.chdir(root)
g = glob('*')