trustfence: add Trustfence tools in default toolchain
In order to perform the standalone signature process, it was required to rebuild the Toolchain with Trustfence support enabled. CST source code is now available for downloading in the Digi FTP, so add Trustfence sign scripts and cst/srktool to the default toolchain for it to be used for standalone signature without rebuilding. Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com> (cherry picked from commit 2c9b721fb9ce38dcd0034e22d95db6e0ee068955) Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
3c47480f49
commit
ba035acb22
|
|
@ -16,7 +16,7 @@ DEPENDS = "openssl byacc flex"
|
|||
DEPENDS:append:class-nativesdk = " byacc-native openssl-native"
|
||||
|
||||
SRC_URI = " \
|
||||
${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', '${DIGI_PKG_SRC}/cst-${PV}.tgz', '', d)} \
|
||||
${DIGI_PKG_SRC}/cst-${PV}.tgz \
|
||||
file://0001-gen_auth_encrypted_data-reuse-existing-DEK-file.patch \
|
||||
file://0002-hab4_pki_tree.sh-automate-script.patch \
|
||||
file://0003-openssl_helper-use-dev-urandom-as-seed-source.patch \
|
||||
|
|
|
|||
|
|
@ -7,6 +7,6 @@ TRUSTFENCE_SDK_TOOLS ?= "\
|
|||
"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', \
|
||||
oe.utils.conditional('TRUSTFENCE_SIGN_MODE', 'AHAB', '${TRUSTFENCE_SDK_TOOLS} nativesdk-imx-mkimage', '${TRUSTFENCE_SDK_TOOLS}', d), '', d)} \
|
||||
${TRUSTFENCE_SDK_TOOLS} \
|
||||
${@oe.utils.conditional('TRUSTFENCE_SIGN_MODE', 'AHAB', 'nativesdk-imx-mkimage', '', d)} \
|
||||
"
|
||||
|
|
|
|||
Loading…
Reference in New Issue