summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2016-06-03 11:10:35 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2016-11-10 15:44:25 +0100
commit4f242edf47c25feffdc344a5581590e750b9339f (patch)
tree5e8cabfd5499903767b95ee5b073d21d6a15802c
parentb67fff829db5749d6db95c15e2883488f9b59dd6 (diff)
downloadopenembedded-core-contrib-jansa/krogoth.tar.gz
openembedded-core-contrib-jansa/krogoth.tar.bz2
openembedded-core-contrib-jansa/krogoth.zip
rm_work: exclude all kernel recipesjansa/krogoth
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta/classes/rm_work.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index c647d88d26..3ebf0956c6 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)