]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto: restore WORKDIR as a patch source directory
authorBruce Ashfield <bruce.ashfield@windriver.com>
Wed, 18 Jan 2012 17:07:55 +0000 (12:07 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2012 11:29:04 +0000 (11:29 +0000)
In the switch to using src_patches and using patches in their
source directory, the scanning of WORKDIR migrated items like
config fragments was dropped. Adding WORKDIR back as a patch
directory restores the old functionality.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/classes/kernel-yocto.bbclass

index 1b73e6edbfc7fb14e937022316e3e43278bef2cd..7fdefcf22156811d3e70ace4a8286e0cf293563f 100644 (file)
@@ -92,6 +92,8 @@ do_patch() {
                fi
        done
 
+       patch_dirs="${patch_dirs} ${WORKDIR}"
+
        # add any explicitly referenced features onto the end of the feature
        # list that is passed to the kernel build scripts.
        if [ -n "${KERNEL_FEATURES}" ]; then