summaryrefslogtreecommitdiffstats
path: root/recipes-core/llvm/llvm-common/llvm-config
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/llvm/llvm-common/llvm-config')
-rw-r--r--recipes-core/llvm/llvm-common/llvm-config10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-core/llvm/llvm-common/llvm-config b/recipes-core/llvm/llvm-common/llvm-config
new file mode 100644
index 0000000..a9a416d
--- /dev/null
+++ b/recipes-core/llvm/llvm-common/llvm-config
@@ -0,0 +1,10 @@
1#!/bin/sh
2# Wrapper script for real llvm-config. Simply calls
3
4if [ $WANT_LLVM_RELEASE ]; then
5 exec `dirname $0`/${TARGET_PREFIX}llvm-config$WANT_LLVM_RELEASE ${@}
6else
7 echo "The variable WANT_LLVM_RELEASE is not defined and exported"
8 echo "by your build recipe. Go figure."
9 exit 1
10fi