From 29ae46a86601313206896992afb77b35c31785da Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 17 Dec 2009 21:37:44 +0000 Subject: kernel.bbclass: Use B, not S in KERNEL_VERSION Signed-off-by: Richard Purdie --- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index f902b7e9c..6f8ee31ff 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -51,7 +51,7 @@ KERNEL_IMAGEDEST = "boot" # export CMDLINE_CONSOLE = "console=${@bb.data.getVar("KERNEL_CONSOLE",d,1) or "ttyS0"}" -KERNEL_VERSION = "${@get_kernelversion('${S}')}" +KERNEL_VERSION = "${@get_kernelversion('${B}')}" KERNEL_MAJOR_VERSION = "${@get_kernelmajorversion('${KERNEL_VERSION}')}" KERNEL_LOCALVERSION ?= "" -- cgit v1.2.3