From patchwork Thu Jan 19 09:22:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [CONSOLIDATED, PULL, 21/33] linux-yocto: restore WORKDIR as a patch source directory Date: Thu, 19 Jan 2012 09:22:42 -0000 From: Saul Wold X-Patchwork-Id: 19721 Message-Id: <1e1772c611deb224ad8f7d5b4c87a10dfd7271c4.1326964778.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org From: Bruce Ashfield 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 --- meta/classes/kernel-yocto.bbclass | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 1b73e6e..7fdefcf 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