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

View File

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