[oe] [PATCH] gawk-native_3.1.4.bb: Removed legacy style staging

Fahad Usman fahad_usman at mentor.com
Wed Aug 18 08:08:00 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/gawk/gawk-native_3.1.4.bb |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/recipes/gawk/gawk-native_3.1.4.bb b/recipes/gawk/gawk-native_3.1.4.bb
index 0a33f71..67d254c 100644
--- a/recipes/gawk/gawk-native_3.1.4.bb
+++ b/recipes/gawk/gawk-native_3.1.4.bb
@@ -1,5 +1,8 @@
 INHIBIT_AUTOTOOLS_DEPS = "1"
 require gawk_${PV}.bb
+PR = "r1"
+
+NATIVE_INSTALL_WORKS = "1"
 
 inherit native
 
@@ -8,7 +11,7 @@ PATCHTOOL = "patch"
 
 S = "${WORKDIR}/gawk-${PV}"
 
-do_stage() {
-	install -d ${STAGING_BINDIR}
-	install -m 755 gawk ${STAGING_BINDIR}
+do_install() {
+	install -d ${D}${bindir}
+	install -m 755 gawk ${D}${bindir}
 }
-- 
1.6.3.3





More information about the Openembedded-devel mailing list