mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-13 02:49:57 +00:00
llvm: make llvm-config wrapper error message more understandable
The llvm-config wrapper has an error message that is quite abrupt, expand it so it helps the user. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
4ff633a23a
commit
2318f8ee8b
@ -4,7 +4,8 @@
|
|||||||
if [ $WANT_LLVM_RELEASE ]; then
|
if [ $WANT_LLVM_RELEASE ]; then
|
||||||
exec `dirname $0`/${TARGET_PREFIX}llvm-config$WANT_LLVM_RELEASE ${@}
|
exec `dirname $0`/${TARGET_PREFIX}llvm-config$WANT_LLVM_RELEASE ${@}
|
||||||
else
|
else
|
||||||
echo "The variable WANT_LLVM_RELEASE is not defined and exported"
|
echo "To use llvm-common WANT_LLVM_RELEASE needs to be exported."
|
||||||
echo "by your build recipe. Go figure."
|
echo "For example if this is being called through a recipe:"
|
||||||
exit 1
|
echo "export WANT_LLVM_RELEASE=\"3.3\""
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user