[oe-commits] Henning Heinold : llvm-common: use new staging system and switch to BBCLASSEXTENDED
git version control
git at git.openembedded.org
Thu Jul 8 13:52:59 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 22afd95e74d273b228c7aa685a81d14f16ae1e3c
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=22afd95e74d273b228c7aa685a81d14f16ae1e3c
Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date: Thu Jul 8 00:12:00 2010 +0200
llvm-common: use new staging system and switch to BBCLASSEXTENDED
---
recipes/llvm/llvm-common-native.bb | 12 ------------
recipes/llvm/llvm-common.bb | 10 ++++------
2 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/recipes/llvm/llvm-common-native.bb b/recipes/llvm/llvm-common-native.bb
deleted file mode 100644
index c2b79bd..0000000
--- a/recipes/llvm/llvm-common-native.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-require llvm-common.bb
-
-inherit native
-
-do_install() {
- :
-}
-
-do_stage() {
- install -d ${STAGING_BINDIR}
- install -m 0755 ${WORKDIR}/llvm-config ${STAGING_BINDIR}
-}
diff --git a/recipes/llvm/llvm-common.bb b/recipes/llvm/llvm-common.bb
index b7f2bfc..9c1a4e5 100644
--- a/recipes/llvm/llvm-common.bb
+++ b/recipes/llvm/llvm-common.bb
@@ -1,14 +1,12 @@
DESCRIPTION = "Helper script for OE's llvm support"
+BBCLASSEXTEND = "native"
+
SRC_URI = "file://llvm-config"
PACKAGES = ""
do_install() {
- :
-}
-
-do_stage() {
- install -d ${STAGING_BINDIR_CROSS}
- install -m 0755 ${WORKDIR}/llvm-config ${STAGING_BINDIR_CROSS}
+ install -d ${D}${bindir}
+ install -m 0755 ${WORKDIR}/llvm-config ${D}${bindir}
}
More information about the Openembedded-commits
mailing list