summaryrefslogtreecommitdiff
path: root/meta/classes/kernel-yocto.bbclass
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2012-01-18 12:07:55 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-19 11:29:04 +0000
commitfd46d2ec75a53a02464ab2f0bc69eb1971432c9a (patch)
tree840e5756fdb5958d39e42baea8fc44204289e332 /meta/classes/kernel-yocto.bbclass
parentd71df3cc2ff2504d61078c578c0e73bbf53b6651 (diff)
downloadopenembedded-core-fd46d2ec75a53a02464ab2f0bc69eb1971432c9a.tar.gz
openembedded-core-fd46d2ec75a53a02464ab2f0bc69eb1971432c9a.tar.bz2
openembedded-core-fd46d2ec75a53a02464ab2f0bc69eb1971432c9a.tar.xz
openembedded-core-fd46d2ec75a53a02464ab2f0bc69eb1971432c9a.zip
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 <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r--meta/classes/kernel-yocto.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 1b73e6edb..7fdefcf22 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