]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kernel-fitimage: fix external dtb check
authorAdrian Freihofer <adrian.freihofer@siemens.com>
Mon, 15 Jul 2024 14:10:39 +0000 (16:10 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Jul 2024 10:54:28 +0000 (11:54 +0100)
commitc8f629b6991449cc6726f48a607d9e1bd50807ee
treec83d063a48f4e82438cb6a06812a60ebee8e8ec9
parent000079a973e8c97d496ca721259437880a7ea70d
kernel-fitimage: fix external dtb check

If EXTERNAL_KERNEL_DEVICETREE and dtb_image_sect are empty variables
dtb_path ends up as "/" which is available on most Unix systems but
probably not the dtb_path which is needed here. Checking for a file
makes more sense and also solves the issue with the "/".

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/kernel-fitimage.bbclass