]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
rm_work: exclude all kernel recipes jansa/krogoth
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 3 Jun 2016 11:10:35 +0000 (11:10 +0000)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 10 Nov 2016 14:44:25 +0000 (15:44 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
meta/classes/rm_work.bbclass

index c647d88d267b1cba02f85cbeecec0e806b65789e..3ebf0956c6f67f5a56086f0caf800f1db9d75afb 100644 (file)
@@ -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)