Skip to contentSkip to conversation

module-base.bbclass: set KERNEL_MAJOR_VERSION

PATCH New Eric Benard 1 participant 1 message May 4, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 module-base.bbclass: set KERNEL_MAJOR_VERSION

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

---
 classes/module-base.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
classes/module-base.bbclass +2 -0
index 9aaaa4e..d6d34c9 100644
@@ -1,3 +1,5 @@
+KERNEL_MAJOR_VERSION = "${@get_kernelmajorversion('${KERNEL_VERSION}')}"
+
 inherit module_strip
 
 inherit kernel-arch
Signature · 1 line
1.6.3.3