diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-03-11 01:35:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-16 17:41:56 +0000 |
commit | 788fd5ac01086b32c4702c136ebc52bc85ba5def (patch) | |
tree | eee06251b8af0b14df9d6b996b9f7e7ced56534f /meta/classes/kernelsrc.bbclass | |
parent | 9157c1b0aa5c1bd5dea84c346b4324721d31101d (diff) | |
download | poky-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.bbclass | 2 |
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" | |||
4 | do_unpack[noexec] = "1" | 4 | do_unpack[noexec] = "1" |
5 | do_patch[noexec] = "1" | 5 | do_patch[noexec] = "1" |
6 | do_package[depends] += "virtual/kernel:do_populate_sysroot" | 6 | do_package[depends] += "virtual/kernel:do_populate_sysroot" |
7 | KERNEL_VERSION = "${@get_kernelversion_file("${S}")}" | 7 | KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}" |
8 | 8 | ||
9 | inherit linux-kernel-base | 9 | inherit linux-kernel-base |
10 | 10 | ||