summaryrefslogtreecommitdiff
path: root/meta/classes/kernel-yocto.bbclass
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2012-04-17 18:01:44 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-17 23:15:24 +0100
commit0ade3f26f40b67d7296725b1e956c46be9a86089 (patch)
tree72151b358cd83be4e6cbc5c0eedc6d100d49eada /meta/classes/kernel-yocto.bbclass
parent9c08dcf468fd41897627d9efc650c74f8f5d8ed0 (diff)
downloadopenembedded-core-0ade3f26f40b67d7296725b1e956c46be9a86089.tar.gz
openembedded-core-0ade3f26f40b67d7296725b1e956c46be9a86089.tar.bz2
openembedded-core-0ade3f26f40b67d7296725b1e956c46be9a86089.zip
linux-yocto: .diff is a valid patch extension
In fixing an existing patch migration bug, the list of valid extensions got out of sync from the core patch class. As a result, valid patches were not being applied to the tree. Updating the tools to migrate .diff files fixes the issue. Also in this fix is the removal of .patch in the find_sccs() routine, since it will never be returned by patch.bbclass when all non-patches are requested, it is simply confusing. 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.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 0caf6a67f0..c995a2ef57 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -20,7 +20,7 @@ def find_sccs(d):
sources_list=[]
for s in sources:
base, ext = os.path.splitext(os.path.basename(s))
- if ext and ext in ('.scc' '.cfg' '.patch'):
+ if ext and ext in ('.scc' '.cfg'):
sources_list.append(s)
elif base and base in 'defconfig':
sources_list.append(s)