* [PATCH] rm_work: exclude all kernel recipes
@ 2016-06-06 13:31 Martin Jansa
0 siblings, 0 replies; only message in thread
From: Martin Jansa @ 2016-06-06 13:31 UTC (permalink / raw)
To: openembedded-core
From: Martin Jansa <martin.jansa@gmail.com>
* otherwise kernel is rebuilt every single time and often it fails when
building external modules
[YOCTO #9352]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
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)
--
2.8.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-06 13:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06 13:31 [PATCH] rm_work: exclude all kernel recipes Martin Jansa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.