mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 23:39:22 +00:00
yocto-kernel: remove assumption that kernel has a version
Kernels don't need to have a PREFERRED_VERSION, so remove that assumption from the code that looks for the kernel definition. (From meta-yocto rev: 2ea9d54ac5ebd80b5306851d62411960f3293ede) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5fc9990ef6
commit
6c7f426663
@@ -289,6 +289,8 @@ def find_current_kernel(bsp_layer, machine):
|
||||
|
||||
if preferred_kernel and preferred_kernel_version:
|
||||
return preferred_kernel + "_" + preferred_kernel_version
|
||||
elif preferred_kernel:
|
||||
return preferred_kernel
|
||||
|
||||
|
||||
def find_bsp_kernel_src_uri(scripts_path, machine, start_end_only = False):
|
||||
|
||||
Reference in New Issue
Block a user