kernel.bblass: remove get_kernelmajorversion

It is now unused.

(From OE-Core rev: 18a0f1dfd9d36e53a3adba74f30e756769a74a0b)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Anders Darander 2011-07-01 15:08:00 +02:00 committed by Richard Purdie
parent bdfbb1f27e
commit f370e45cbb
1 changed files with 0 additions and 8 deletions

View File

@ -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()))