summaryrefslogtreecommitdiff
path: root/meta/classes/linux-kernel-base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/linux-kernel-base.bbclass')
-rw-r--r--meta/classes/linux-kernel-base.bbclass8
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):
return m.group(1)
return None
-def get_kernelmajorversion(p):
- import re
- r = re.compile("([0-9]+\.[0-9]+).*")
- m = r.match(p);
- if m:
- return m.group(1)
- return None
-
def linux_module_packages(s, d):
suffix = ""
return " ".join(map(lambda s: "kernel-module-%s%s" % (s.lower().replace('_', '-').replace('@', '+'), suffix), s.split()))