summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-05 08:41:10 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-05 08:41:10 +0000
commit451ef8b5742be2b8fec596270ae11114842c6a7f (patch)
treeaa8a5500d4761c96104910af43d1f6457d8e3c2d
parent9c9fad56548f0cb447a538dcfdf390eb39cdc6c5 (diff)
downloadpoky-451ef8b5742be2b8fec596270ae11114842c6a7f.tar.gz
base.bbclass: Swicth to use cleandirs flag for install task
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2694 311d38ba-8fff-0310-9ca6-ca027cbcb966
-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 9bcf212e95..ed78c72172 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -374,12 +374,6 @@ oe_machinstall() {
374 fi 374 fi
375} 375}
376 376
377# Remove and re-create ${D} so that is it guaranteed to be empty
378do_install_prepend() {
379 rm -rf ${D}
380 mkdir -p ${D}
381}
382
383addtask listtasks 377addtask listtasks
384do_listtasks[nostamp] = "1" 378do_listtasks[nostamp] = "1"
385python do_listtasks() { 379python do_listtasks() {
@@ -695,6 +689,7 @@ python do_populate_staging () {
695 689
696addtask install after do_compile 690addtask install after do_compile
697do_install[dirs] = "${D} ${S} ${B}" 691do_install[dirs] = "${D} ${S} ${B}"
692do_install[cleandirs] = "${D}"
698 693
699base_do_install() { 694base_do_install() {
700 : 695 :