rm_work.bbclass: Improve handling of noexec tasks

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2011-02-21 12:58:06 +00:00
parent b42273a909
commit ec071acf23
1 changed files with 9 additions and 0 deletions

View File

@ -32,6 +32,7 @@ do_rm_work () {
# Change normal stamps into setscene stamps as they better reflect the
# fact WORKDIR is now empty
# Also leave noexec stamps since setscene stamps don't cover them
cd `dirname ${STAMP}`
for i in `basename ${STAMP}`*
do
@ -41,6 +42,14 @@ do_rm_work () {
*do_setscene*)
break
;;
*do_package_write*)
i=dummy
break
;;
*do_build*)
i=dummy
break
;;
*_setscene*)
i=dummy
break