[oe-commits] Fahad Usman : pad-native: converted to new style staging
git version control
git at git.openembedded.org
Thu Sep 30 21:04:08 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 771a89b33df37a3bee3708f21e8146cbbc88b829
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=771a89b33df37a3bee3708f21e8146cbbc88b829
Author: Fahad Usman <fahad_usman at mentor.com>
Date: Thu Sep 2 00:53:00 2010 +0000
pad-native: converted to new style staging
* Converted do_stage to do_install.
* Added INC_PR = "r1"
* Added NATIVE_INSTALL_WORKS = "1"
Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
recipes/pad/pad-native.bb | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/recipes/pad/pad-native.bb b/recipes/pad/pad-native.bb
index e8c2b6d..cc1f7aa 100644
--- a/recipes/pad/pad-native.bb
+++ b/recipes/pad/pad-native.bb
@@ -3,6 +3,7 @@ DESCRIPTION = "Console utility for padding a file (filling with 0 to reach a spe
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pad"
SRC_URI = "file://pad.c"
LICENSE = "PD"
+PR = "r1"
inherit native
do_compile() {
@@ -10,6 +11,9 @@ do_compile() {
${CC} -I. -o pad pad.c
}
-do_stage() {
- install -m 0755 pad ${STAGING_BINDIR}/
+do_install() {
+ install -d ${D}${bindir}/
+ install -m 0755 pad ${D}${bindir}/
}
+
+NATIVE_INSTALL_WORKS = "1"
More information about the Openembedded-commits
mailing list