diff options
author | Damien Lespiau <damien.lespiau@gmail.com> | 2009-02-04 09:42:08 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@gmail.com> | 2009-02-04 09:47:35 +0100 |
commit | bcf14a38d5baf9d10c5b5b189cb7eb1df939d4a0 (patch) | |
tree | feb8f24054d959da977682209663163ef7e6f0e8 /meta/classes | |
parent | af9030880adcc76a8b747f655a85aa55f3e8a1ff (diff) | |
download | poky-bcf14a38d5baf9d10c5b5b189cb7eb1df939d4a0.tar.gz |
sanity.bbclass: Fix error message when not having g++ on build
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sanity.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 58e858ba3f..7c5b99cf87 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -78,10 +78,10 @@ def check_sanity(e): | |||
78 | missing = missing + "GNU make," | 78 | missing = missing + "GNU make," |
79 | 79 | ||
80 | if not check_app_exists('${BUILD_PREFIX}gcc', e.data): | 80 | if not check_app_exists('${BUILD_PREFIX}gcc', e.data): |
81 | missing = missing + "C Compiler (${BUILD_PREFIX}gcc)," | 81 | missing = missing + "C Compiler (%sgcc)," % data.getVar("BUILD_PREFIX", e.data, True) |
82 | 82 | ||
83 | if not check_app_exists('${BUILD_PREFIX}g++', e.data): | 83 | if not check_app_exists('${BUILD_PREFIX}g++', e.data): |
84 | missing = missing + "C++ Compiler (${BUILD_PREFIX}g++)," | 84 | missing = missing + "C++ Compiler (%sg++)," % data.getVar("BUILD_PREFIX", e.data, True) |
85 | 85 | ||
86 | required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk" | 86 | required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk" |
87 | 87 | ||