[oe-commits] [openembedded-core] 03/16: rm_work: exclude all kernel recipes
git at git.openembedded.org
git at git.openembedded.org
Mon Jun 6 21:54:18 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 9d23daf03ece06185224f869e9b7f73789689c2d
Author: Martin Jansa <martin.jansa at gmail.com>
AuthorDate: Mon Jun 6 15:31:07 2016 +0200
rm_work: exclude all kernel recipes
* otherwise kernel is rebuilt every single time and often it fails when
building external modules
[YOCTO #9352]
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/rm_work.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index c647d88..3ebf095 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -119,6 +119,8 @@ rm_work_rootfs () {
rm_work_rootfs[cleandirs] = "${WORKDIR}/rootfs"
python () {
+ if bb.data.inherits_class('kernel', d):
+ d.appendVar("RM_WORK_EXCLUDE", ' ' + d.getVar("PN", True))
# If the recipe name is in the RM_WORK_EXCLUDE, skip the recipe.
excludes = (d.getVar("RM_WORK_EXCLUDE", True) or "").split()
pn = d.getVar("PN", True)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list