[PATCH] imx-cst: introduce the recipe for the version 3.3.0
"Thomas Perrot" <[email protected]> Sat, 7 Aug 2021 10:30:14 +0200
| Newsgroups | org.yoctoproject.lists.meta-freescale |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Thomas Perrot <[email protected]> --- .../recipes-devtools/cst/imx-cst_3.3.0.bb | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dynamic-layers/openembedded-layer/recipes-devtools/cst/imx-cst_3.3.0.bb diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/cst/imx-cst_3.3.0.bb b/dynamic-layers/openembedded-layer/recipes-devtools/cst/imx-cst_3.3.0.bb new file mode 100644 index 000000000000..3ba04c8b3d3c --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-devtools/cst/imx-cst_3.3.0.bb @@ -0,0 +1,30 @@ +SUMMARY = "i.MX code signing tool" +DESCRIPTION = "Provides software code signing support designed that integrate the HABv4 and AHAB library" +SECTION = "cst" +LICENSE = "BSD" + +LIC_FILES_CHKSUM = "file://LICENSE.bsd3;md5=1fbcd66ae51447aa94da10cbf6271530" + +DEPENDS = "byacc-native flex-native openssl" + +SRC_URI = "git://gitlab.apertis.org/pkg/imx-code-signing-tool.git;protocol=https;tag=debian/3.3.0+dfsg2-1;nobranch=1" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" AR="${AR}" OBJCOPY="${OBJCOPY}"' + +do_compile() { + cd ${S}/code/cst + oe_runmake build OSTYPE=linux64 ENCRYPTION=yes COPTIONS="${CFLAGS} ${CPPFLAGS}" LDOPTIONS="${LDFLAGS}" + cd - + oe_runmake -C code/hab_csf_parser COPTS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" +} + +do_install () { + install -d ${D}${bindir} + install -m 755 ${S}/code/cst/code/obj.linux64/cst ${D}${bindir} + install -m 755 ${S}/code/cst/code/obj.linux64/srktool ${D}${bindir} + install -m 755 ${S}/code/hab_csf_parser/csf_parser ${D}${bindir} +} + +BBCLASSEXTEND = "native nativesdk" -- 2.31.1