summaryrefslogtreecommitdiff
path: root/recipes/llvm/llvm-native.inc
diff options
context:
space:
mode:
authorRobert Schuster <robertschuster@fsfe.org>2010-04-30 13:39:46 +0200
committerRobert Schuster <robertschuster@fsfe.org>2010-04-30 15:15:20 +0200
commit6da4ed714f269373271a14149b131bf1ff7a6def (patch)
treeb170693a735068c6d3b343a8e8c4f901e56a0874 /recipes/llvm/llvm-native.inc
parente38c2c1286f25518770d6c668dc43939476f312d (diff)
llvm.inc: Accomodate to changes made to cmake.bbclass which broke the LLVM builds.
llvm-native.inc: Dito.
Diffstat (limited to 'recipes/llvm/llvm-native.inc')
-rw-r--r--recipes/llvm/llvm-native.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes/llvm/llvm-native.inc b/recipes/llvm/llvm-native.inc
index ab1ce56000..b3c409a757 100644
--- a/recipes/llvm/llvm-native.inc
+++ b/recipes/llvm/llvm-native.inc
@@ -1,6 +1,6 @@
require llvm.inc
-DEPENDS = "llvm-common-native cmake-native"
+DEPENDS = "llvm-common-native cmake-native binutils-cross"
inherit native
@@ -14,13 +14,16 @@ EXTRA_OECMAKE = "\
-DCMAKE_OBJDUMP:FILEPATH=${OBJDUMP} \
-DCMAKE_RANLIB:FILEPATH=${RANLIB} \
-DCMAKE_STRIP:FILEPATH=${STRIP} \
+ -DNM_PATH:FILEPATH=${NM} \
"
do_stage() {
+ cd ${OECMAKE_BUILDPATH}
+
llvm_stage
install -d ${STAGING_BINDIR}
- install -m 0755 build/bin/llvm-config${LLVM_RELEASE} ${STAGING_BINDIR}
+ install -m 0755 bin/llvm-config${LLVM_RELEASE} ${STAGING_BINDIR}
}