diff options
author | Anders Darander <anders@chargestorm.se> | 2011-07-01 15:08:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 23:33:55 +0100 |
commit | 18a0f1dfd9d36e53a3adba74f30e756769a74a0b (patch) | |
tree | 4ae3c77f3e51e3deb483e34744b49699fcd53e97 /meta/classes/linux-kernel-base.bbclass | |
parent | 2cdb49b67027663ba9c53eec8e864e909adef0e6 (diff) | |
download | openembedded-core-contrib-18a0f1dfd9d36e53a3adba74f30e756769a74a0b.tar.gz |
kernel.bblass: remove get_kernelmajorversion
It is now unused.
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/linux-kernel-base.bbclass')
-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 510951a620b..4f2b0a4a984 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())) |