From 16f6a00639f8e21451a0be3e27c6172b4dac0dbf Mon Sep 17 00:00:00 2001 From: Ulrich Ölmann Date: Mon, 21 Jul 2025 15:38:36 +0200 Subject: imx-cst: update to v3.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update as the previous version's source is not available for download anymore from the debian mirror. Signed-off-by: Ulrich Ölmann Signed-off-by: Khem Raj --- meta-oe/recipes-support/imx-cst/imx-cst_3.4.0.bb | 40 ------------------------ meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb | 40 ++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 meta-oe/recipes-support/imx-cst/imx-cst_3.4.0.bb create mode 100644 meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb diff --git a/meta-oe/recipes-support/imx-cst/imx-cst_3.4.0.bb b/meta-oe/recipes-support/imx-cst/imx-cst_3.4.0.bb deleted file mode 100644 index 3b57f4ed81..0000000000 --- a/meta-oe/recipes-support/imx-cst/imx-cst_3.4.0.bb +++ /dev/null @@ -1,40 +0,0 @@ -SUMMARY = "i.MX code signing tool" -DESCRIPTION = "Code signing support that integrates the HABv4 and AHAB library for i.MX processors" -LICENSE = "BSD-3-Clause & Apache-2.0" - -LIC_FILES_CHKSUM = "\ - file://LICENSE.bsd3;md5=14aba05f9fa6c25527297c8aac95fcf6 \ - file://LICENSE.hidapi;md5=e0ea014f523f64f0adb13409055ee59e \ - file://LICENSE.openssl;md5=3441526b1df5cc01d812c7dfc218cea6 \ -" - -DEPENDS = "byacc-native flex-native openssl" - -# debian: 3.4.0+dfsg-2 -DEBIAN_PGK_NAME = "imx-code-signing-tool" -DEBIAN_PGK_VERSION = "${PV}+dfsg" - -SRC_URI = "\ - ${DEBIAN_MIRROR}/main/i/${DEBIAN_PGK_NAME}/${DEBIAN_PGK_NAME}_${DEBIAN_PGK_VERSION}.orig.tar.xz \ - file://0001-fix-missing-makefile-rule-dependency.patch \ -" - -SRC_URI[sha256sum] = "52ee3cee3bc500a42095f73c4584e223b4b9d2dfc1cd3e5df965c5952eba8c8d" - -S = "${UNPACKDIR}/${DEBIAN_PGK_NAME}-${DEBIAN_PGK_VERSION}" - -EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" AR="${AR}" OBJCOPY="${OBJCOPY}"' - -do_compile() { - oe_runmake -C code/obj.linux64 OSTYPE=linux64 ENCRYPTION=yes COPTIONS="${CFLAGS} ${CPPFLAGS}" LDOPTIONS="${LDFLAGS}" - oe_runmake -C add-ons/hab_csf_parser COPTS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" -} - -do_install () { - install -d ${D}${bindir} - install -m 755 ${S}/code/obj.linux64/cst ${D}${bindir}/ - install -m 755 ${S}/code/obj.linux64/srktool ${D}${bindir} - install -m 755 ${S}/add-ons/hab_csf_parser/csf_parser ${D}${bindir} -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb b/meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb new file mode 100644 index 0000000000..12b319843e --- /dev/null +++ b/meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb @@ -0,0 +1,40 @@ +SUMMARY = "i.MX code signing tool" +DESCRIPTION = "Code signing support that integrates the HABv4 and AHAB library for i.MX processors" +LICENSE = "BSD-3-Clause & Apache-2.0" + +LIC_FILES_CHKSUM = "\ + file://LICENSE.bsd3;md5=14aba05f9fa6c25527297c8aac95fcf6 \ + file://LICENSE.hidapi;md5=e0ea014f523f64f0adb13409055ee59e \ + file://LICENSE.openssl;md5=3441526b1df5cc01d812c7dfc218cea6 \ +" + +DEPENDS = "byacc-native flex-native openssl" + +# debian: 3.4.0+dfsg-2 +DEBIAN_PGK_NAME = "imx-code-signing-tool" +DEBIAN_PGK_VERSION = "${PV}+dfsg" + +SRC_URI = "\ + ${DEBIAN_MIRROR}/main/i/${DEBIAN_PGK_NAME}/${DEBIAN_PGK_NAME}_${DEBIAN_PGK_VERSION}.orig.tar.xz \ + file://0001-fix-missing-makefile-rule-dependency.patch \ +" + +SRC_URI[sha256sum] = "342c0c028658a4a859fe70578b58c3b07e17bee0c7e3a13d063d4791e82c2dee" + +S = "${UNPACKDIR}/${DEBIAN_PGK_NAME}-${DEBIAN_PGK_VERSION}" + +EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" AR="${AR}" OBJCOPY="${OBJCOPY}"' + +do_compile() { + oe_runmake -C code/obj.linux64 OSTYPE=linux64 ENCRYPTION=yes COPTIONS="${CFLAGS} ${CPPFLAGS}" LDOPTIONS="${LDFLAGS}" + oe_runmake -C add-ons/hab_csf_parser COPTS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" +} + +do_install () { + install -d ${D}${bindir} + install -m 755 ${S}/code/obj.linux64/cst ${D}${bindir}/ + install -m 755 ${S}/code/obj.linux64/srktool ${D}${bindir} + install -m 755 ${S}/add-ons/hab_csf_parser/csf_parser ${D}${bindir} +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf