summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorJamin Lin <jamin_lin@aspeedtech.com>2024-01-19 14:19:35 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-08 17:54:47 +0000
commit338a96e7c317e2b32dc8d59a1900566c670b7347 (patch)
tree93da66f4fa1d930c4ad586e9bbafc260b6abe87c /meta/classes-recipe
parenta3c69c088eb627eec39280538a3bda2c203cfe20 (diff)
downloadpoky-338a96e7c317e2b32dc8d59a1900566c670b7347.tar.gz
uboot-sign: Fix to install nonexistent dtb file
Add to check dtb file exist, then install it. (From OE-Core rev: d2d818534d9334213730c169f8b235af8a794b33) Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/uboot-sign.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass
index abde0bc61c..4b462698f9 100644
--- a/meta/classes-recipe/uboot-sign.bbclass
+++ b/meta/classes-recipe/uboot-sign.bbclass
@@ -318,7 +318,9 @@ EOF
318 ${SPL_MKIMAGE_SIGN_ARGS} 318 ${SPL_MKIMAGE_SIGN_ARGS}
319 fi 319 fi
320 320
321 cp ${SPL_DIR}/${SPL_DTB_BINARY} ${SPL_DIR}/${SPL_DTB_SIGNED} 321 if [ -e "${SPL_DIR}/${SPL_DTB_BINARY}" ]; then
322 cp ${SPL_DIR}/${SPL_DTB_BINARY} ${SPL_DIR}/${SPL_DTB_SIGNED}
323 fi
322} 324}
323 325
324uboot_assemble_fitimage_helper() { 326uboot_assemble_fitimage_helper() {