aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/llvm
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2010-07-16 15:07:01 +0200
committerHenning Heinold <heinold@inf.fu-berlin.de>2010-07-16 15:08:53 +0200
commit145cb3f5d649181631493a3923cfbceed647297a (patch)
tree91bb3f754d853eff9497171d20b1a0097731253b /recipes/llvm
parent505ca9b45dc38d866001399e31e400e0001bf466 (diff)
downloadopenembedded-145cb3f5d649181631493a3923cfbceed647297a.tar.gz
llvm-common: use do_install to do the stuff
* bump PR
Diffstat (limited to 'recipes/llvm')
-rw-r--r--recipes/llvm/llvm-common.bb24
1 files changed, 11 insertions, 13 deletions
diff --git a/recipes/llvm/llvm-common.bb b/recipes/llvm/llvm-common.bb
index 861ae4ef02..225a6d033c 100644
--- a/recipes/llvm/llvm-common.bb
+++ b/recipes/llvm/llvm-common.bb
@@ -1,21 +1,19 @@
DESCRIPTION = "Helper script for OE's llvm support"
-PR = "r2"
-
-BBCLASSEXTEND = "native"
+PR = "r3"
SRC_URI = "file://llvm-config"
-PACKAGES = ""
+NATIVE_INSTALL_WORKS = "1"
-# For llvm-common the script should end up in STAGING_BINDIR_CROSS
-# and for llvm-common-native it should be in STAGING_BINDIR. The
-# script works together with a script that is installed by a
-# corresponding llvm(-native) package.
-DESTINATION = "${STAGING_BINDIR_CROSS}"
-DESTINATION_virtclass-native = "${STAGING_BINDIR}"
+do_install_virtclass-native() {
+ install -d ${D}${bindir}
+ install -m 0755 ${WORKDIR}/llvm-config ${D}${bindir}
+}
-do_stage() {
- install -d ${DESTINATION}
- install -m 0755 ${WORKDIR}/llvm-config ${DESTINATION}
+do_install() {
+ install -d ${STAGING_BINDIR_CROSS}
+ install -m 0755 ${WORKDIR}/llvm-config ${STAGING_BINDIR_CROSS}
}
+
+BBCLASSEXTEND = "native"