diff options
-rw-r--r-- | meta/classes-recipe/uboot-sign.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass index 76a81546e3..e0771b5429 100644 --- a/meta/classes-recipe/uboot-sign.bbclass +++ b/meta/classes-recipe/uboot-sign.bbclass | |||
@@ -113,6 +113,8 @@ python() { | |||
113 | sign = d.getVar('UBOOT_SIGN_ENABLE') == '1' | 113 | sign = d.getVar('UBOOT_SIGN_ENABLE') == '1' |
114 | if d.getVar('UBOOT_FITIMAGE_ENABLE') == '1' or sign: | 114 | if d.getVar('UBOOT_FITIMAGE_ENABLE') == '1' or sign: |
115 | d.appendVar('DEPENDS', " u-boot-tools-native dtc-native") | 115 | d.appendVar('DEPENDS', " u-boot-tools-native dtc-native") |
116 | if d.getVar('FIT_GENERATE_KEYS') == '1' and sign: | ||
117 | d.appendVarFlag('do_uboot_assemble_fitimage', 'depends', ' virtual/kernel:do_kernel_generate_rsa_keys') | ||
116 | } | 118 | } |
117 | 119 | ||
118 | concat_dtb() { | 120 | concat_dtb() { |