summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-04-17 16:43:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-19 13:34:04 +0100
commit50e75d0cd7190a009776d72a4ae5c3e835895e6b (patch)
tree198e3e4f1d938399ea200a5ec74ecad3713fbd8c /meta/classes
parenta0eb3ebbc82133ad239a752a4a85d154be31a311 (diff)
downloadopenembedded-core-50e75d0cd7190a009776d72a4ae5c3e835895e6b.tar.gz
openembedded-core-50e75d0cd7190a009776d72a4ae5c3e835895e6b.tar.bz2
openembedded-core-50e75d0cd7190a009776d72a4ae5c3e835895e6b.zip
classes/base: clarify S not set correctly warning
Hopefully make it a bit clearer to the user which recipe needs fixing and what needs to be done to fix it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 3d9235e1a6..0032b302cf 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -151,7 +151,7 @@ python base_do_unpack() {
raise bb.build.FuncFailed(e)
if not os.path.exists(s_dir):
- bb.warn("%s ('S') doesn't exist, please set 'S' to a proper value" % s_dir)
+ bb.warn('%s: the directory %s (%s) pointed to by the S variable doesn\'t exist - please set S within the recipe to point to where the source has been unpacked to' % (d.getVar('PN', True), d.getVar('S', False), s_dir))
}
def pkgarch_mapping(d):