summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-12-17 21:37:44 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-12-18 11:41:44 +0000
commit29ae46a86601313206896992afb77b35c31785da (patch)
tree3aa5f3ce990aa5807ae929da9e5940ba71f8615e /meta/classes
parente90771c6aeff0344227f45d1b56a0e1378d245bc (diff)
downloadopenembedded-core-29ae46a86601313206896992afb77b35c31785da.tar.gz
openembedded-core-29ae46a86601313206896992afb77b35c31785da.tar.bz2
openembedded-core-29ae46a86601313206896992afb77b35c31785da.tar.xz
openembedded-core-29ae46a86601313206896992afb77b35c31785da.zip
kernel.bbclass: Use B, not S in KERNEL_VERSION
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
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 ?= ""