From: Martin Jansa Date: Fri, 3 Jun 2016 11:10:35 +0000 (+0000) Subject: rm_work: exclude all kernel recipes X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fjansa%2Fkrogoth;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git rm_work: exclude all kernel recipes Signed-off-by: Martin Jansa --- diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index c647d88d267..3ebf0956c6f 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)