summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-08-18 17:13:12 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-03 13:32:34 +0100
commitf0a3a38a653c643468452eba43a12795136720c9 (patch)
treeafacbb8837da0fadb8de9da51c2b24d71f6a27e0
parentd5e8c095fb6452c6b58526d242faedd2c653213d (diff)
downloadopenembedded-core-f0a3a38a653c643468452eba43a12795136720c9.tar.gz
openembedded-core-f0a3a38a653c643468452eba43a12795136720c9.tar.bz2
openembedded-core-f0a3a38a653c643468452eba43a12795136720c9.zip
devtool: make required tasks be run in kernel build
Set SRCTREECOVEREDTASKS appropriately in the workspace .bbappend file for kernel recipes. This tries to ensure that all needed tasks (esp. configure and patch) are run when building the kernel - tasks which would normally be disabled by externalsrc.bbclass. [YOCTO #6658] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index de7afd97c2..6ba86ed801 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -473,6 +473,8 @@ def modify(args, config, basepath, workspace):
if b_is_s:
f.write('EXTERNALSRC_BUILD_pn-%s = "%s"\n' % (args.recipename, srctree))
+ if bb.data.inherits_class('kernel', rd):
+ f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout do_shared_workdir do_fetch do_unpack"\n')
if initial_rev:
f.write('\n# initial_rev: %s\n' % initial_rev)
for commit in commits: