llvm-common: use new staging system and switch to BBCLASSEXTENDED
authorHenning Heinold <heinold@inf.fu-berlin.de>
Wed, 7 Jul 2010 22:12:00 +0000 (00:12 +0200)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Thu, 8 Jul 2010 13:50:21 +0000 (15:50 +0200)
recipes/llvm/llvm-common-native.bb [deleted file]
recipes/llvm/llvm-common.bb

diff --git a/recipes/llvm/llvm-common-native.bb b/recipes/llvm/llvm-common-native.bb
deleted file mode 100644 (file)
index c2b79bd..0000000
+++ /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}
-}
index b7f2bfc..9c1a4e5 100644 (file)
@@ -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}
 }