aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/llvm/llvm-common/llvm-config
blob: b0f33c8d68d382db9f1c56b595750f065b8a9f5e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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