diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-08-18 17:13:12 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-04 16:23:50 +0100 |
commit | 9e9fd091d591dfb1f07506eace6df3240d768b65 (patch) | |
tree | 932f3d944b17cedcbdeddc42b6adc6ae59a72b07 | |
parent | 5cf3420334709a812662e3b9ce935cad44976598 (diff) | |
download | poky-9e9fd091d591dfb1f07506eace6df3240d768b65.tar.gz |
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]
(From OE-Core rev: f0a3a38a653c643468452eba43a12795136720c9)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 |
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): | |||
473 | if b_is_s: | 473 | if b_is_s: |
474 | f.write('EXTERNALSRC_BUILD_pn-%s = "%s"\n' % (args.recipename, srctree)) | 474 | f.write('EXTERNALSRC_BUILD_pn-%s = "%s"\n' % (args.recipename, srctree)) |
475 | 475 | ||
476 | if bb.data.inherits_class('kernel', rd): | ||
477 | f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout do_shared_workdir do_fetch do_unpack"\n') | ||
476 | if initial_rev: | 478 | if initial_rev: |
477 | f.write('\n# initial_rev: %s\n' % initial_rev) | 479 | f.write('\n# initial_rev: %s\n' % initial_rev) |
478 | for commit in commits: | 480 | for commit in commits: |