diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2012-01-18 12:07:55 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-19 11:34:11 +0000 |
commit | 13a62254e8b44694245b1adb81f61ce1dc82b259 (patch) | |
tree | 152d58621954f7f041e4d13bbfdf6a6e8147ff80 /meta/classes/kernel-yocto.bbclass | |
parent | 80038a035241b9a1da32d4448fa34afcb697bad6 (diff) | |
download | poky-13a62254e8b44694245b1adb81f61ce1dc82b259.tar.gz |
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.
(From OE-Core rev: fd46d2ec75a53a02464ab2f0bc69eb1971432c9a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r-- | 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 1b73e6edbf..7fdefcf221 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -92,6 +92,8 @@ do_patch() { | |||
92 | fi | 92 | fi |
93 | done | 93 | done |
94 | 94 | ||
95 | patch_dirs="${patch_dirs} ${WORKDIR}" | ||
96 | |||
95 | # add any explicitly referenced features onto the end of the feature | 97 | # add any explicitly referenced features onto the end of the feature |
96 | # list that is passed to the kernel build scripts. | 98 | # list that is passed to the kernel build scripts. |
97 | if [ -n "${KERNEL_FEATURES}" ]; then | 99 | if [ -n "${KERNEL_FEATURES}" ]; then |