diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2016-06-06 15:31:07 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-06 15:44:04 +0100 |
commit | 9d23daf03ece06185224f869e9b7f73789689c2d (patch) | |
tree | 50bb160d214140d8cd024430d10151a5f07ed92e /meta | |
parent | db702fb12f7b34928a52e522ad269ac43f1dcace (diff) | |
download | openembedded-core-9d23daf03ece06185224f869e9b7f73789689c2d.tar.gz openembedded-core-9d23daf03ece06185224f869e9b7f73789689c2d.tar.bz2 openembedded-core-9d23daf03ece06185224f869e9b7f73789689c2d.zip |
rm_work: exclude all kernel recipes
* 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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/rm_work.bbclass | 2 |
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) |