mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
kernel: Fix check_oldest_kernel
The check_oldest_kernel() function requires utsrelease.h to be generated. This file is generated during do_compile, so we need to delay calling check_oldest_kernel() until after this. With this change in place, I now see the expected warning when building Linux 5.10.y. (From OE-Core rev: 525019b30e83ea65021ca4874605589ccd2daf80) Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
88eaffee1e
commit
aec64781fe
@@ -645,7 +645,7 @@ python check_oldest_kernel() {
|
||||
}
|
||||
|
||||
check_oldest_kernel[vardepsexclude] += "OLDEST_KERNEL KERNEL_VERSION"
|
||||
do_configure[prefuncs] += "check_oldest_kernel"
|
||||
do_compile[postfuncs] += "check_oldest_kernel"
|
||||
|
||||
KERNEL_LOCALVERSION ??= ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user