[oe-commits] Markus Lehtonen : devtool: make required tasks be run in kernel build

git at git.openembedded.org git at git.openembedded.org
Tue Sep 1 21:21:08 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: a14abb494280de68fad3c3ce833e308609789bc3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a14abb494280de68fad3c3ce833e308609789bc3

Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
Date:   Tue Aug 18 17:13:12 2015 +0300

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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/lib/devtool/standard.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index de7afd9..6ba86ed 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:



More information about the Openembedded-commits mailing list