rm_work: exclude all kernel recipes
PATCH 1/1 rm_work: exclude all kernel recipes
From: Martin Jansa <[email protected]>
* otherwise kernel is rebuilt every single time and often it fails when building external modules
[YOCTO #9352]
Signed-off-by Martin Jansa <[email protected]>
--- meta/classes/rm_work.bbclass | 2 ++ 1 file changed, 2 insertions(+)
meta/classes/rm_work.bbclass +2 -0
@@ -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)
Signature · 1 line
2.8.3