summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 9bcf212e9..ed78c7217 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -374,12 +374,6 @@ oe_machinstall() {
fi
}
-# Remove and re-create ${D} so that is it guaranteed to be empty
-do_install_prepend() {
- rm -rf ${D}
- mkdir -p ${D}
-}
-
addtask listtasks
do_listtasks[nostamp] = "1"
python do_listtasks() {
@@ -695,6 +689,7 @@ python do_populate_staging () {
addtask install after do_compile
do_install[dirs] = "${D} ${S} ${B}"
+do_install[cleandirs] = "${D}"
base_do_install() {
: