aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-10-04 14:49:30 -0700
committerTom Rini <tom_rini@mentor.com>2010-10-04 15:22:52 -0700
commit33afdd5a4771814110a3304159152aa483091ac7 (patch)
tree5975c1c04ec2a1a79fa8c4a027796190e9bc0279
parenta44217d83e940dc1d94908d9c4759bdd9121d166 (diff)
downloadopenembedded-33afdd5a4771814110a3304159152aa483091ac7.zip
openembedded-33afdd5a4771814110a3304159152aa483091ac7.tar.gz
openembedded-33afdd5a4771814110a3304159152aa483091ac7.tar.bz2
dtc-native: Switch from legacy staging
Signed-off-by: Tom Rini <tom_rini@mentor.com>
-rw-r--r--recipes/dtc/dtc-native.inc8
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}/
+}