base.bbclass: Move do_install note to more appropriate place
authorRichard Purdie <rpurdie@rpsys.net>
Mon, 29 Oct 2007 15:54:02 +0000 (15:54 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Mon, 29 Oct 2007 15:54:02 +0000 (15:54 +0000)
classes/base.bbclass

index 8904b97..c504f78 100644 (file)
@@ -387,9 +387,6 @@ oe_machinstall() {
        fi
 }
 
-# Remove and re-create ${D} so that is it guaranteed to be empty
-do_install[cleandirs] = "${D}"
-
 addtask listtasks
 do_listtasks[nostamp] = "1"
 python do_listtasks() {
@@ -703,6 +700,8 @@ python do_populate_staging () {
 
 addtask install after do_compile
 do_install[dirs] = "${D} ${S} ${B}"
+# Remove and re-create ${D} so that is it guaranteed to be empty
+do_install[cleandirs] = "${D}"
 
 base_do_install() {
        :