git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98037f1
)
module_strip bbclass: inherit class to get the kernel version method
author
Koen Kooi
<koen@openembedded.org>
Mon, 4 Oct 2010 14:05:46 +0000
(16:05 +0200)
committer
Koen Kooi
<koen@openembedded.org>
Mon, 4 Oct 2010 14:05:46 +0000
(16:05 +0200)
classes/module_strip.bbclass
patch
|
blob
|
history
diff --git
a/classes/module_strip.bbclass
b/classes/module_strip.bbclass
index
998fb86
..
6a298fd
100644
(file)
--- 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}')}"