From: Koen Kooi Date: Mon, 4 Oct 2010 14:05:46 +0000 (+0200) Subject: module_strip bbclass: inherit class to get the kernel version method X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2eee26fdda59c7225dd71a39783dbaed5f62bc56;p=openembedded.git module_strip bbclass: inherit class to get the kernel version method --- 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}')}"