diff options
-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" 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 |