[oe] [PATCH] module-base.bbclass: set KERNEL_MAJOR_VERSION

Eric Benard eric at eukrea.com
Tue May 4 09:51:25 UTC 2010


- KERNEL_MAJOR_VERSION was not set, this was preventing modules from
being stripped.

Signed-off-by: Eric Benard <eric at eukrea.com>
---
 classes/module-base.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/classes/module-base.bbclass b/classes/module-base.bbclass
index 9aaaa4e..d6d34c9 100644
--- a/classes/module-base.bbclass
+++ b/classes/module-base.bbclass
@@ -1,3 +1,5 @@
+KERNEL_MAJOR_VERSION = "${@get_kernelmajorversion('${KERNEL_VERSION}')}"
+
 inherit module_strip
 
 inherit kernel-arch
-- 
1.6.3.3





More information about the Openembedded-devel mailing list