All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] imx-cst: introduce the recipe for the version 3.3.0
@ 2021-08-07  8:30 Thomas Perrot
  2021-08-07 11:33 ` [meta-freescale] " Otavio Salvador
  2021-08-07 11:46 ` Fabio Estevam
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Perrot @ 2021-08-07  8:30 UTC (permalink / raw)
  To: meta-freescale; +Cc: Thomas Perrot

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
---
 .../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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-12 11:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-07  8:30 [PATCH] imx-cst: introduce the recipe for the version 3.3.0 Thomas Perrot
2021-08-07 11:33 ` [meta-freescale] " Otavio Salvador
2021-08-12 11:30   ` Thomas Perrot
2021-08-07 11:46 ` Fabio Estevam
2021-08-12  9:16   ` Thomas Perrot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.