summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernelsrc.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-03-11 01:35:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:41:56 +0000
commit788fd5ac01086b32c4702c136ebc52bc85ba5def (patch)
treeeee06251b8af0b14df9d6b996b9f7e7ced56534f /meta/classes/kernelsrc.bbclass
parent9157c1b0aa5c1bd5dea84c346b4324721d31101d (diff)
downloadpoky-788fd5ac01086b32c4702c136ebc52bc85ba5def.tar.gz
kernelsrc.bbclass: fix KERNEL_VERSION
The kernel-abiversion is now in STAGING_KERNEL_BUILDDIR not in S. Fixed rpm pkg like perf: (note the None version) perf-None-r9.qemux86.rpm (From OE-Core rev: 85bb679f22b2f5fb308016e62356bd1d6ba455a0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernelsrc.bbclass')
-rw-r--r--meta/classes/kernelsrc.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass
index 4208eff6fc..9efd46a92d 100644
--- a/meta/classes/kernelsrc.bbclass
+++ b/meta/classes/kernelsrc.bbclass
@@ -4,7 +4,7 @@ do_unpack[depends] += "virtual/kernel:do_patch"
4do_unpack[noexec] = "1" 4do_unpack[noexec] = "1"
5do_patch[noexec] = "1" 5do_patch[noexec] = "1"
6do_package[depends] += "virtual/kernel:do_populate_sysroot" 6do_package[depends] += "virtual/kernel:do_populate_sysroot"
7KERNEL_VERSION = "${@get_kernelversion_file("${S}")}" 7KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}"
8 8
9inherit linux-kernel-base 9inherit linux-kernel-base
10 10