Patchwork [1/1] linux-yocto: restore WORKDIR as a patch source directory

login
register
mail settings
Submitter Bruce Ashfield
Date Jan. 18, 2012, 5:13 p.m.
Message ID <c98b47892e03284d4cd8954f7f19389aec83d377.1326906635.git.bruce.ashfield@windriver.com>
Download mbox | patch
Permalink /patch/19651/
State Accepted
Commit fd46d2ec75a53a02464ab2f0bc69eb1971432c9a
Headers show

Comments

Bruce Ashfield - Jan. 18, 2012, 5:13 p.m.
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

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