summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-01-06 09:32:41 +0000
committerJoshua Lock <josh@linux.intel.com>2010-01-06 09:32:41 +0000
commitaee835ba8f30f4cb3f7319f953ddb64462304fa6 (patch)
tree6d9e4833c672fc0f0a3e8ada3647ad0459290a8f /meta
parent4dac8ed6d791684c23828f05adfee3cc7d03e358 (diff)
downloadopenembedded-core-aee835ba8f30f4cb3f7319f953ddb64462304fa6.tar.gz
openembedded-core-aee835ba8f30f4cb3f7319f953ddb64462304fa6.tar.bz2
openembedded-core-aee835ba8f30f4cb3f7319f953ddb64462304fa6.zip
insane.bbclass: enhance gettext error message
Point the user at gettext.bbclass which handles adding the correct gettext to DEPENDS. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/insane.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 9bddb9bd42..aa0d1aa180 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -510,5 +510,6 @@ Rerun configure task after fixing this. The path was '%s'""" % root)
for config in configs:
gnu = "grep \"^[[:space:]]*AM_GNU_GETTEXT\" %s >/dev/null" % config
if os.system(gnu) == 0:
- bb.fatal("Gettext required but not in DEPENDS for file %s" % config)
+ bb.fatal("Gettext required but not in DEPENDS for file %s.
+Missing inherit gettext?" % config)
}