mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
9952ab95e6
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>
(cherry picked from commit 2318f8ee8b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
12 lines
351 B
Bash
12 lines
351 B
Bash
#!/bin/sh
|
|
# Wrapper script for real llvm-config. Simply calls
|
|
|
|
if [ $WANT_LLVM_RELEASE ]; then
|
|
exec `dirname $0`/${TARGET_PREFIX}llvm-config$WANT_LLVM_RELEASE ${@}
|
|
else
|
|
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
|