diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-09-07 13:34:39 -0700 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-10-03 14:51:21 +0200 |
commit | 7adf7eab3054561e010c89b9db91888bde49d6a7 (patch) | |
tree | c53778dbaf2b6f9e5e20eb5c95aa7ad542110dbb | |
parent | eb90d685df3347b0536e9b8c26011edc880ea593 (diff) |
image_type_tezi: make sure UBOOT_BINARY is defined
UBOOT_BINARY is only available in U-Boot recipes and the Toradex
image recipes. If the Toradex image recipes are not used, then
UBOOT_BINARY is undefined and image.json contains "null" instead of
the binary name.
Define UBOOT_BINARY with a reasonable default.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r-- | classes/image_type_tezi.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass index 4e765e6..828a6e5 100644 --- a/classes/image_type_tezi.bbclass +++ b/classes/image_type_tezi.bbclass @@ -2,6 +2,8 @@ inherit image_types IMAGE_DEPENDS_teziimg = "tezi-metadata:do_deploy virtual/bootloader" +UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" + def rootfs_get_size(d): import subprocess |