kernel.bbclass: Use B, not S in KERNEL_VERSION
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
e90771c6ae
commit
29ae46a866
|
@ -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 ?= ""
|
||||
|
|
Loading…
Reference in New Issue