This is useful in a few scenarios: 1) A developer wants to be able to grep all the code in a particular without having to run patch on various components until they guess the right one (e.g. which component is generating an error/warning?)
2) Other code scanning tools that can be run without requiring a full image to be built (legal, static code analysis, etc) Signed-off-by: Matthew McClintock <msm-...@mcclintock.net> --- meta/classes/utility-tasks.bbclass | 7 +++++++ meta/conf/documentation.conf | 1 + 2 files changed, 8 insertions(+) diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass index da69c3a..b922685 100644 --- a/meta/classes/utility-tasks.bbclass +++ b/meta/classes/utility-tasks.bbclass @@ -64,3 +64,10 @@ do_fetchall[recideptask] = "do_${BB_DEFAULT_TASK}" do_fetchall() { : } + +addtask patchall after do_patch +do_patchall[recrdeptask] = "do_patchall do_patch" +do_patchall[recideptask] = "do_${BB_DEFAULT_TASK}" +do_patchall() { + : +} diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index 06527cb..5f4593c 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf @@ -40,6 +40,7 @@ do_package_write_rpm[doc] = "Creates the actual RPM packages and places them in do_package_write_tar[doc] = "Creates tar archives for packages and places them in the Package Feed area" do_packagedata[doc] = "Creates package metadata used by the build system to generate the final packages" do_patch[doc] = "Locates patch files and applies them to the source code" +do_patchall[doc] = "Fetches, unpacks, and patches the source for all the components in a particular target" do_populate_lic[doc] = "Writes license information for the recipe that is collected later when the image is constructed" do_populate_sdk[doc] = "Creates the file and directory structure for an installable SDK" do_populate_sysroot[doc] = "Copies a subset of files installed by do_install into the sysroot in order to make them available to other recipes" -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core