From: Bruce Ashfield Date: Wed, 18 Jan 2012 17:07:55 +0000 (-0500) Subject: linux-yocto: restore WORKDIR as a patch source directory X-Git-Tag: 2015-4~12000 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=fd46d2ec75a53a02464ab2f0bc69eb1971432c9a;p=openembedded-core.git linux-yocto: restore WORKDIR as a patch source directory 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 --- diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 1b73e6edbf..7fdefcf221 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -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