[oe-commits] [openembedded-core] 02/02: devtool: extract: update SRCTREECOVEREDTASKS for kernel

git at git.openembedded.org git at git.openembedded.org
Sun Mar 20 10:23:50 UTC 2016


rpurdie pushed a commit to branch jethro
in repository openembedded-core.

commit 4d879cb8d7384ac4a96f22c1664b8875f2d8f615
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Thu Dec 3 15:54:25 2015 +0200

    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 master rev: 7ce4c18a4ba1ebcb9f46e652a881ace1f21d2292)
    
    Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/lib/devtool/standard.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 1437e7c..10156c4 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -599,7 +599,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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list