[oe] [PATCH] elftoaout-native_2.3.bb: Removed legacy style staging

Fahad Usman fahad_usman at mentor.com
Wed Aug 18 07:57:42 UTC 2010


* converted do_stage to do_install

* replaced ${STAGING_BINDIR} with ${D}${bindir}

* added NATIVE_INSTALL_WORKS = "1"

* added PR = "r1"

Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
---
 recipes/elftoaout/elftoaout-native_2.3.bb |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/recipes/elftoaout/elftoaout-native_2.3.bb b/recipes/elftoaout/elftoaout-native_2.3.bb
index 9b43805..04a26ba 100644
--- a/recipes/elftoaout/elftoaout-native_2.3.bb
+++ b/recipes/elftoaout/elftoaout-native_2.3.bb
@@ -1,13 +1,17 @@
 SECTION = "console/utils"
 LICENSE = "GPL"
 SRC_URI = "http://www.uk.debian.org/debian/pool/main/s/sparc-utils/sparc-utils_1.9.orig.tar.gz"
+PR = "r1"
 
 inherit native
 
 S = "${WORKDIR}/sparc-utils-1.9.orig/elftoaout-${PV}"
 
-do_stage() {
-	install elftoaout ${STAGING_BINDIR}
+NATIVE_INSTALL_WORKS = "1"
+
+do_install() {
+    install -d ${D}${bindir}
+    install elftoaout ${D}${bindir}
 }
 
 SRC_URI[md5sum] = "08bf3f6d8433a1f4981a2afaa6b49a6c"
-- 
1.6.3.3





More information about the Openembedded-devel mailing list