]> code.ossystems Code Review - openembedded-core.git/commitdiff
devtool: include do_patch in SRCTREECOVEREDTASKS
authorTzu-Jung Lee <roylee17@currantlabs.com>
Mon, 2 Nov 2015 19:21:25 +0000 (19:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Dec 2015 21:30:53 +0000 (21:30 +0000)
The external source of kernel has been patched during the
construction of git repository. Include the do_patch task in the
SRCTREECOVEREDTASKS.

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/standard.py

index 7d7c77a6e92b78a9c820928496a4ec05a8267a6c..8efd2628fda7b11d27e689e55b9d1cc8cdc3797c 100644 (file)
@@ -642,7 +642,7 @@ 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"\n')
+            f.write('SRCTREECOVEREDTASKS = "do_validate_branches do_kernel_checkout do_fetch do_unpack do_patch"\n')
         if initial_rev:
             f.write('\n# initial_rev: %s\n' % initial_rev)
             for commit in commits: