diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-05 08:41:10 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-05 08:41:10 +0000 |
commit | 451ef8b5742be2b8fec596270ae11114842c6a7f (patch) | |
tree | aa8a5500d4761c96104910af43d1f6457d8e3c2d /meta/classes | |
parent | 9c9fad56548f0cb447a538dcfdf390eb39cdc6c5 (diff) | |
download | openembedded-core-451ef8b5742be2b8fec596270ae11114842c6a7f.tar.gz openembedded-core-451ef8b5742be2b8fec596270ae11114842c6a7f.tar.bz2 openembedded-core-451ef8b5742be2b8fec596270ae11114842c6a7f.tar.xz openembedded-core-451ef8b5742be2b8fec596270ae11114842c6a7f.zip |
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
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/base.bbclass | 7 |
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() { : |