]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel: Fix check_oldest_kernel
authorPaul Barker <pbarker.renesas@gmail.com>
Wed, 13 Mar 2024 17:28:41 +0000 (17:28 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2024 12:20:59 +0000 (12:20 +0000)
commit525019b30e83ea65021ca4874605589ccd2daf80
tree2545b4119bf5fcd7ce5d6ca677b4fc77f19100a1
parent7bfbaaf2baa54f0abff231cfc263d4d8bc7f732b
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.

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/kernel.bbclass