summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@gmail.com>2009-02-04 09:42:08 +0100
committerDamien Lespiau <damien.lespiau@gmail.com>2009-02-04 09:47:35 +0100
commitbcf14a38d5baf9d10c5b5b189cb7eb1df939d4a0 (patch)
treefeb8f24054d959da977682209663163ef7e6f0e8 /meta
parentaf9030880adcc76a8b747f655a85aa55f3e8a1ff (diff)
downloadopenembedded-core-bcf14a38d5baf9d10c5b5b189cb7eb1df939d4a0.tar.gz
openembedded-core-bcf14a38d5baf9d10c5b5b189cb7eb1df939d4a0.tar.bz2
openembedded-core-bcf14a38d5baf9d10c5b5b189cb7eb1df939d4a0.tar.xz
openembedded-core-bcf14a38d5baf9d10c5b5b189cb7eb1df939d4a0.zip
sanity.bbclass: Fix error message when not having g++ on build
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sanity.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 58e858ba3..7c5b99cf8 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -78,10 +78,10 @@ def check_sanity(e):
missing = missing + "GNU make,"
if not check_app_exists('${BUILD_PREFIX}gcc', e.data):
- missing = missing + "C Compiler (${BUILD_PREFIX}gcc),"
+ missing = missing + "C Compiler (%sgcc)," % data.getVar("BUILD_PREFIX", e.data, True)
if not check_app_exists('${BUILD_PREFIX}g++', e.data):
- missing = missing + "C++ Compiler (${BUILD_PREFIX}g++),"
+ missing = missing + "C++ Compiler (%sg++)," % data.getVar("BUILD_PREFIX", e.data, True)
required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk"