summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multitech/recipes/llvm/llvm2.7_2.7.bbappend11
1 files changed, 11 insertions, 0 deletions
diff --git a/multitech/recipes/llvm/llvm2.7_2.7.bbappend b/multitech/recipes/llvm/llvm2.7_2.7.bbappend
new file mode 100644
index 0000000..634eec2
--- /dev/null
+++ b/multitech/recipes/llvm/llvm2.7_2.7.bbappend
@@ -0,0 +1,11 @@
+FILESEXTRA := "${THISDIR}"
+FILESPATHBASE =. "${FILESEXTRA}:"
+
+PR .= ".corecdp1"
+
+do_install_append_virtclass-native() {
+ install -d ${D}${bindir}
+ install -m 0755 bin/llvm-config${LLVM_RELEASE} ${D}${bindir}
+ # replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl
+ sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${D}${bindir}/llvm-config${LLVM_RELEASE}
+}