summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/base.bbclass5
1 files changed, 1 insertions, 4 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 9bcf212e95..d4b327e266 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -375,10 +375,7 @@ oe_machinstall() {
}
# Remove and re-create ${D} so that is it guaranteed to be empty
-do_install_prepend() {
- rm -rf ${D}
- mkdir -p ${D}
-}
+do_install[cleandirs] = "${D}"
addtask listtasks
do_listtasks[nostamp] = "1"