trustfence-cst: include in SDK
Generate and include the host tools in the SDK when Trustfence is enabled. This makes it easier to use the standalone signing and encrypting scripts. Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
This commit is contained in:
parent
6a5b4cadf8
commit
f3c7f91d90
|
|
@ -1,3 +0,0 @@
|
|||
# Copyright (C) 2017 Digi International
|
||||
|
||||
require trustfence-cst-native.inc
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
# Copyright (C) 2017 Digi International
|
||||
|
||||
require trustfence-cst-native.inc
|
||||
|
||||
INSANE_SKIP_${PN} += "already-stripped"
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
# Copyright (C) 2017 Digi International
|
||||
# Copyright (C) 2017, 2018 Digi International
|
||||
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."
|
||||
HOMEPAGE = "https://www.nxp.com/webapp/Download?colCode=IMX_CST_TOOL"
|
||||
LICENSE = "CLOSED"
|
||||
|
||||
DEPENDS = "openssl-native"
|
||||
DEPENDS = "openssl"
|
||||
|
||||
SRC_URI = " \
|
||||
${@base_conditional('TRUSTFENCE_SIGN', '1', 'file://cst-${PV}.tar.gz', '', d)} \
|
||||
|
|
@ -29,8 +29,6 @@ python() {
|
|||
|
||||
S = "${WORKDIR}/cst-${PV}"
|
||||
|
||||
inherit native
|
||||
|
||||
do_configure() {
|
||||
cp -f ${WORKDIR}/Makefile .
|
||||
}
|
||||
|
|
@ -48,3 +46,6 @@ do_install() {
|
|||
install -m 0755 ca/v3_ca.cnf ${D}${bindir}/v3_ca.cnf
|
||||
install -m 0755 ca/v3_usr.cnf ${D}${bindir}/v3_usr.cnf
|
||||
}
|
||||
|
||||
FILES_${PN} = "${bindir}"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# Copyright (C) 2017, 2018 Digi International
|
||||
|
||||
require trustfence-cst.inc
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# Copyright (C) 2017, 2018 Digi International
|
||||
|
||||
require trustfence-cst.inc
|
||||
|
||||
INSANE_SKIP_${PN} += "already-stripped"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
# Copyright (C) 2016 Digi International.
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
${@base_conditional('TRUSTFENCE_SIGN', '1', 'nativesdk-trustfence-sign-tools', '', d)} \
|
||||
${@base_conditional('TRUSTFENCE_SIGN', '1', 'nativesdk-trustfence-sign-tools nativesdk-trustfence-cst', '', d)} \
|
||||
"
|
||||
|
|
|
|||
Loading…
Reference in New Issue