trustfence-sign-tools: use appropriate signing script when using SPL and AHAB
When building imx-boot images with SPL on the ccimx8x, a different signing procedure is required. We already have a script for this use case in our U-Boot fork, so make use of it. Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
f75c78dd8f
commit
9d98563945
|
|
@ -46,7 +46,11 @@ do_install() {
|
|||
|
||||
# Select U-Boot sign script depending on U-Boot including an SPL image
|
||||
if [ -n "${SPL_BINARY}" ]; then
|
||||
install -m 0755 git/scripts/sign_spl_fit.sh ${D}${bindir}/trustfence-sign-uboot.sh
|
||||
if [ "${TRUSTFENCE_SIGN_MODE}" = "AHAB" ]; then
|
||||
install -m 0755 git/scripts/sign_spl_ahab.sh ${D}${bindir}/trustfence-sign-uboot.sh
|
||||
else
|
||||
install -m 0755 git/scripts/sign_spl_fit.sh ${D}${bindir}/trustfence-sign-uboot.sh
|
||||
fi
|
||||
else
|
||||
install -m 0755 git/scripts/sign.sh ${D}${bindir}/trustfence-sign-uboot.sh
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue