[oe-commits] Koen Kooi : module_strip bbclass: inherit class to get the kernel version method
git version control
git at git.openembedded.org
Mon Oct 4 14:09:04 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2eee26fdda59c7225dd71a39783dbaed5f62bc56
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2eee26fdda59c7225dd71a39783dbaed5f62bc56
Author: Koen Kooi <koen at openembedded.org>
Date: Mon Oct 4 16:05:46 2010 +0200
module_strip bbclass: inherit class to get the kernel version method
---
classes/module_strip.bbclass | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/classes/module_strip.bbclass b/classes/module_strip.bbclass
index 998fb86..6a298fd 100644
--- a/classes/module_strip.bbclass
+++ b/classes/module_strip.bbclass
@@ -1,5 +1,8 @@
PACKAGESTRIPFUNCS += "do_strip_modules"
+# inherit to get get_kernelmajorversion();
+inherit linux-kernel-base
+
# may be inherited by kernel.bbclass which sets KERNEL_MAJOR_VERSION
KERNEL_MAJOR_VERSION ?= "${@get_kernelmajorversion('${KERNEL_VERSION}')}"
More information about the Openembedded-commits
mailing list