mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 11:32:30 +00:00
nvidia-kernel-oot: don't sign dtbs that aren't built here
In the case of a custom provider of virtual/dtb, the devicetrees won't all be built by nvidia-kernel-oot, so it shouldn't die if an item in the KERNEL_DEVICETREE list isn't found here. Note that previously, DTBFILE was overwritten for the custom devicetrees, but due to changes elsewhere, this is no longer possible. The choice was between patching those other places, or this change, which now allows a dtb to be built by more intuitively updating the KERNEL_DEVICETREE variable. Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
This commit is contained in:
committed by
Matt Madison
parent
411b175fd4
commit
2f05663341
@@ -75,7 +75,10 @@ do_compile() {
|
||||
|
||||
do_sign_dtbs() {
|
||||
for dtbf in ${KERNEL_DEVICETREE}; do
|
||||
tegra_uefi_attach_sign "${B}/nvidia-oot/device-tree/platform/generic-dts/dtbs/${dtbf}"
|
||||
local dtb="${B}/nvidia-oot/device-tree/platform/generic-dts/dtbs/${dtbf}"
|
||||
if [ -e "$dtb" ]; then
|
||||
tegra_uefi_attach_sign "$dtb"
|
||||
fi
|
||||
done
|
||||
}
|
||||
do_sign_dtbs[dirs] = "${B}"
|
||||
|
||||
Reference in New Issue
Block a user