aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-10-04 16:05:46 +0200
committerKoen Kooi <koen@openembedded.org>2010-10-04 16:05:46 +0200
commit2eee26fdda59c7225dd71a39783dbaed5f62bc56 (patch)
tree10fc09f3eed5f3e690b59886b8473ccbcc3c43c0 /classes
parent98037f10625acdc68d35d94dfbce6cafff9fbe99 (diff)
downloadopenembedded-2eee26fdda59c7225dd71a39783dbaed5f62bc56.tar.gz
module_strip bbclass: inherit class to get the kernel version method
Diffstat (limited to 'classes')
-rw-r--r--classes/module_strip.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/module_strip.bbclass b/classes/module_strip.bbclass
index 998fb86461..6a298fdde9 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}')}"