aboutsummaryrefslogtreecommitdiffstats
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:38:36 +0000
commit85bb679f22b2f5fb308016e62356bd1d6ba455a0 (patch)
treee2b1c22c966c72766448edb4ac8467b575c3d709 /meta/classes/kernelsrc.bbclass
parent46ceb4d035e4f49e6b4a3a83bf604944d2b991c1 (diff)
downloadopenembedded-core-contrib-85bb679f22b2f5fb308016e62356bd1d6ba455a0.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 Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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 4208eff6fc8..9efd46a92d0 100644
--- a/meta/classes/kernelsrc.bbclass
+++ b/meta/classes/kernelsrc.bbclass
@@ -4,7 +4,7 @@ do_unpack[depends] += "virtual/kernel:do_patch"
do_unpack[noexec] = "1"
do_patch[noexec] = "1"
do_package[depends] += "virtual/kernel:do_populate_sysroot"
-KERNEL_VERSION = "${@get_kernelversion_file("${S}")}"
+KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}"
inherit linux-kernel-base