[CONSOLIDATED,PULL,21/33] linux-yocto: restore WORKDIR as a patch source directory

Submitted by Saul Wold on Jan. 19, 2012, 9:22 a.m.


Message ID 1e1772c611deb224ad8f7d5b4c87a10dfd7271c4.1326964778.git.sgw@linux.intel.com
State New
Headers show

Commit Message

Saul Wold Jan. 19, 2012, 9:22 a.m.
From: Bruce Ashfield <bruce.ashfield@windriver.com>

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 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

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() {
+	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