summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-12-03 15:54:25 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-09 08:48:25 +0000
commitfd4894fcb44d1abef1dcc3a6a44bc78b2dbdf45a (patch)
tree749476f4be8af9ad995bd0d9ec5225de8dd00301
parent34f1d819f4e08ccaad9baae7a05c744f4089345e (diff)
downloadpoky-fd4894fcb44d1abef1dcc3a6a44bc78b2dbdf45a.tar.gz
devtool: extract: update SRCTREECOVEREDTASKS for kernel
Add 'do_kernel_configme' and 'do_kernel_configcheck' to SRCTREECOVEREDTASKS of kernel packages. These tasks should not be run because kernel meta in the srctree is not necessarily up-to-date or even present which causes build failures and/or invalid kernel config. Especially so because 'do_patch' which is a dependency of 'do_kernel_configme' is not being run. We now store .config in the srctree and 'do_configure' task is able to run successfully. (From OE-Core rev: 7ce4c18a4ba1ebcb9f46e652a881ace1f21d2292) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/devtool/standard.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index a4f3da4d14..a5e81f31eb 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -650,7 +650,8 @@ def modify(args, config, basepath, workspace):
650 f.write('EXTERNALSRC_BUILD_pn-%s = "%s"\n' % (pn, srctree)) 650 f.write('EXTERNALSRC_BUILD_pn-%s = "%s"\n' % (pn, srctree))
651 651
652 if bb.data.inherits_class('kernel', rd): 652 if bb.data.inherits_class('kernel', rd):
653 f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout do_fetch do_unpack do_patch"\n') 653 f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout '
654 'do_fetch do_unpack do_patch do_kernel_configme do_kernel_configcheck"\n')
654 if initial_rev: 655 if initial_rev:
655 f.write('\n# initial_rev: %s\n' % initial_rev) 656 f.write('\n# initial_rev: %s\n' % initial_rev)
656 for commit in commits: 657 for commit in commits: