diff options
| -rw-r--r-- | meta/classes/linux-kernel-base.bbclass | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/classes/linux-kernel-base.bbclass b/meta/classes/linux-kernel-base.bbclass index 510951a620..4f2b0a4a98 100644 --- a/meta/classes/linux-kernel-base.bbclass +++ b/meta/classes/linux-kernel-base.bbclass | |||
| @@ -24,14 +24,6 @@ def get_kernelversion(p): | |||
| 24 | return m.group(1) | 24 | return m.group(1) |
| 25 | return None | 25 | return None |
| 26 | 26 | ||
| 27 | def get_kernelmajorversion(p): | ||
| 28 | import re | ||
| 29 | r = re.compile("([0-9]+\.[0-9]+).*") | ||
| 30 | m = r.match(p); | ||
| 31 | if m: | ||
| 32 | return m.group(1) | ||
| 33 | return None | ||
| 34 | |||
| 35 | def linux_module_packages(s, d): | 27 | def linux_module_packages(s, d): |
| 36 | suffix = "" | 28 | suffix = "" |
| 37 | return " ".join(map(lambda s: "kernel-module-%s%s" % (s.lower().replace('_', '-').replace('@', '+'), suffix), s.split())) | 29 | return " ".join(map(lambda s: "kernel-module-%s%s" % (s.lower().replace('_', '-').replace('@', '+'), suffix), s.split())) |
