diff options
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r-- | classes/package.bbclass | 2 |
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('*') |