dtc-native: Switch from legacy staging
authorTom Rini <tom_rini@mentor.com>
Mon, 4 Oct 2010 21:49:30 +0000 (14:49 -0700)
committerTom Rini <tom_rini@mentor.com>
Mon, 4 Oct 2010 22:22:52 +0000 (15:22 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/dtc/dtc-native.inc

index 8388458..4503bc7 100644 (file)
@@ -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}/
+}