trustfence-cst-native: coding style, no functional change
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
846f07b7ac
commit
165f58e9df
|
|
@ -1,32 +1,33 @@
|
||||||
SUMMARY = "NXP Code signing Tool for the High Assurance Boot library"
|
SUMMARY = "NXP Code signing Tool for the High Assurance Boot library"
|
||||||
DESCRIPTION = "Provides software code signing support designed for use with i.MX processors that integrate the HAB library in the internal boot ROM."
|
DESCRIPTION = "Provides software code signing support designed for use with \
|
||||||
|
i.MX processors that integrate the HAB library in the internal boot ROM."
|
||||||
HOMEPAGE = "https://www.nxp.com/webapp/Download?colCode=IMX_CST_TOOL"
|
HOMEPAGE = "https://www.nxp.com/webapp/Download?colCode=IMX_CST_TOOL"
|
||||||
LICENSE = "CLOSED"
|
LICENSE = "CLOSED"
|
||||||
|
|
||||||
DEPENDS = "openssl-native"
|
DEPENDS = "openssl-native"
|
||||||
|
|
||||||
|
SRC_URI = " \
|
||||||
|
${@base_conditional('TRUSTFENCE_SIGN', '1', 'file://cst-${PV}.tar.gz', '', d)} \
|
||||||
|
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 \
|
||||||
|
file://0004-hab4_pki_tree.sh-usa-a-random-password-for-the-defau.patch \
|
||||||
|
file://Makefile \
|
||||||
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/cst-${PV}"
|
S = "${WORKDIR}/cst-${PV}"
|
||||||
|
|
||||||
inherit native
|
inherit native
|
||||||
|
|
||||||
SRC_URI = " \
|
|
||||||
${@base_conditional('TRUSTFENCE_SIGN', '1', 'file://cst-${PV}.tar.gz', '', d)} \
|
|
||||||
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 \
|
|
||||||
file://0004-hab4_pki_tree.sh-usa-a-random-password-for-the-defau.patch \
|
|
||||||
file://Makefile \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
cp -f ${WORKDIR}/Makefile .
|
cp -f ${WORKDIR}/Makefile .
|
||||||
}
|
}
|
||||||
|
|
||||||
do_compile () {
|
do_compile() {
|
||||||
oe_runmake clean && oe_runmake
|
oe_runmake clean && oe_runmake
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install () {
|
do_install() {
|
||||||
install -d ${D}${bindir}
|
install -d ${D}${bindir}
|
||||||
install -m 0755 linux64/cst ${D}${bindir}/cst
|
install -m 0755 linux64/cst ${D}${bindir}/cst
|
||||||
install -m 0755 linux64/srktool ${D}${bindir}/srktool
|
install -m 0755 linux64/srktool ${D}${bindir}/srktool
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue