summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2007-09-05 09:03:04 +0000
committerGraeme Gregory <dp@xora.org.uk>2007-09-05 09:03:04 +0000
commitb8c7a56f1407155f1df69ce942ebef1a585d47dd (patch)
tree45d8f68a850e7e5074e60a6c5e2bc3d079e77de5
parentedaf3f381d490ff384112e892cbaaeb1582c7d48 (diff)
classes/base.bbclass : change to make sure ${D} gets removed before
do_install_prepend. Will activate in a future bitbake version. do_install_prepend became do_install[cleandirs] = "${D}"
-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"