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
This commit is contained in:
Richard Purdie 2007-09-05 08:41:10 +00:00
parent 9c9fad5654
commit 451ef8b574
1 changed files with 1 additions and 6 deletions

View File

@ -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() {
: