[oe-commits] Tom Rini : dtc-native: Switch from legacy staging

git version control git at git.openembedded.org
Mon Oct 4 22:29:54 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 33afdd5a4771814110a3304159152aa483091ac7
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=33afdd5a4771814110a3304159152aa483091ac7

Author: Tom Rini <tom_rini at mentor.com>
Date:   Mon Oct  4 14:49:30 2010 -0700

dtc-native: Switch from legacy staging

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/dtc/dtc-native.inc |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/recipes/dtc/dtc-native.inc b/recipes/dtc/dtc-native.inc
index 8388458..4503bc7 100644
--- a/recipes/dtc/dtc-native.inc
+++ b/recipes/dtc/dtc-native.inc
@@ -2,7 +2,9 @@ require dtc.inc
 
 inherit native
 
-do_stage() {
-	install -m 755 dtc ${STAGING_BINDIR}/dtc
-}
+NATIVE_INSTALL_WORKS = "1"
 
+do_install() {
+	install -d ${D}${bindir}
+	install -m 755 dtc ${D}${bindir}/
+}





More information about the Openembedded-commits mailing list