diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-01-06 09:32:41 +0000 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-01-06 09:32:41 +0000 |
commit | aee835ba8f30f4cb3f7319f953ddb64462304fa6 (patch) | |
tree | 6d9e4833c672fc0f0a3e8ada3647ad0459290a8f /meta/classes | |
parent | 4dac8ed6d791684c23828f05adfee3cc7d03e358 (diff) | |
download | poky-aee835ba8f30f4cb3f7319f953ddb64462304fa6.tar.gz |
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/classes')
-rw-r--r-- | meta/classes/insane.bbclass | 3 |
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) | |||
510 | for config in configs: | 510 | for config in configs: |
511 | gnu = "grep \"^[[:space:]]*AM_GNU_GETTEXT\" %s >/dev/null" % config | 511 | gnu = "grep \"^[[:space:]]*AM_GNU_GETTEXT\" %s >/dev/null" % config |
512 | if os.system(gnu) == 0: | 512 | if os.system(gnu) == 0: |
513 | bb.fatal("Gettext required but not in DEPENDS for file %s" % config) | 513 | bb.fatal("Gettext required but not in DEPENDS for file %s. |
514 | Missing inherit gettext?" % config) | ||
514 | } | 515 | } |