From 9e043b45ceba7e65565722c7dc14910547b04d17 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Mon, 12 Jul 2010 13:34:25 +0200 Subject: llvm: backport llvm2.7 from openembedded-dev Acked-by: Stefan Schmidt Acked-by: Koen Kooi Acked-by: Marcin Juszkiewicz --- recipes/llvm/llvm-common/llvm-config | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 recipes/llvm/llvm-common/llvm-config (limited to 'recipes/llvm/llvm-common/llvm-config') diff --git a/recipes/llvm/llvm-common/llvm-config b/recipes/llvm/llvm-common/llvm-config new file mode 100644 index 0000000000..5256b8cd06 --- /dev/null +++ b/recipes/llvm/llvm-common/llvm-config @@ -0,0 +1,10 @@ +#!/bin/sh +# Wrapper script for real llvm-config. Simply calls + +if [ $WANT_LLVM_RELEASE ]; then + exec `dirname $0`/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 +fi -- cgit 1.2.3-korg