aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/llvm/llvm-common/llvm-config
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-core/llvm/llvm-common/llvm-config')
-rw-r--r--meta-oe/recipes-core/llvm/llvm-common/llvm-config7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-core/llvm/llvm-common/llvm-config b/meta-oe/recipes-core/llvm/llvm-common/llvm-config
index a9a416d931..b0f33c8d68 100644
--- a/meta-oe/recipes-core/llvm/llvm-common/llvm-config
+++ b/meta-oe/recipes-core/llvm/llvm-common/llvm-config
@@ -4,7 +4,8 @@
if [ $WANT_LLVM_RELEASE ]; then
exec `dirname $0`/${TARGET_PREFIX}llvm-config$WANT_LLVM_RELEASE ${@}
else
- echo "The variable WANT_LLVM_RELEASE is not defined and exported"
- echo "by your build recipe. Go figure."
- exit 1
+ echo "To use llvm-common WANT_LLVM_RELEASE needs to be exported."
+ echo "For example if this is being called through a recipe:"
+ echo "export WANT_LLVM_RELEASE=\"3.3\""
+ exit 1
fi