diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-12-03 15:54:25 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-09 08:47:28 +0000 |
commit | 7ce4c18a4ba1ebcb9f46e652a881ace1f21d2292 (patch) | |
tree | 91ddf2dc7a11245b6c70eebcb7edf49d92e4a5f9 /scripts/lib | |
parent | 3b516332e038a587685f6e0c14a7f04990bdd6cc (diff) | |
download | openembedded-core-7ce4c18a4ba1ebcb9f46e652a881ace1f21d2292.tar.gz openembedded-core-7ce4c18a4ba1ebcb9f46e652a881ace1f21d2292.tar.bz2 openembedded-core-7ce4c18a4ba1ebcb9f46e652a881ace1f21d2292.zip |
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.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/devtool/standard.py | 3 |
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): f.write('EXTERNALSRC_BUILD_pn-%s = "%s"\n' % (pn, srctree)) if bb.data.inherits_class('kernel', rd): - f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout do_fetch do_unpack do_patch"\n') + f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout ' + 'do_fetch do_unpack do_patch do_kernel_configme do_kernel_configcheck"\n') if initial_rev: f.write('\n# initial_rev: %s\n' % initial_rev) for commit in commits: |