From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] imx-cst: version bump 3.1.0 -> 3.4.1
Date: Fri, 7 Mar 2025 11:25:00 +0100 [thread overview]
Message-ID: <Z8rJfNsDL16cPlIt@pengutronix.de> (raw)
In-Reply-To: <78a342023b654300bc25b7a098812c65a4ea9f8b.camel@pengutronix.de>
On Fri, Mar 07, 2025 at 11:20:36AM +0100, Rouven Czerwinski wrote:
> On Fri, 2025-03-07 at 11:15 +0100, Michael Olbrich wrote:
> > On Wed, Mar 05, 2025 at 12:00:34PM +0100, Rouven Czerwinski wrote:
> > > The CST archive from NXP now ships with a proper Makefile, all we
> > > need
> > > to do is supply the correct host openssl library. Additionally,
> > > pkcs11
> > > is now supported, but has to be enabled via "-b pkcs11".
> > >
> > > In barebox recipes that means the the compile environment needs to
> > > contain CST_EXTRA_CMDLINE_OPTIONS="-b pkcs11", to use the native
> > > pkcs11
> > > backend.
> >
> > There is one patch "cst: Add pkcs11 support" for the old version.
> > Does this
> > mean that the patch is no longer needed?
>
> Correct.
Ok, I'll amend the commit remove the old patch.
Michael
> > > Additionally the frontend library no longer exists.
> > >
> > > Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
> > > ---
> > > rules/host-imx-cst.make | 24 +++++++-----------------
> > > 1 file changed, 7 insertions(+), 17 deletions(-)
> > >
> > > diff --git a/rules/host-imx-cst.make b/rules/host-imx-cst.make
> > > index 42d6f667b..3850f7200 100644
> > > --- a/rules/host-imx-cst.make
> > > +++ b/rules/host-imx-cst.make
> > > @@ -14,8 +14,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_IMX_CST) += host-
> > > imx-cst
> > > #
> > > # Paths and names
> > > #
> > > -HOST_IMX_CST_VERSION := 3.1.0
> > > -HOST_IMX_CST_MD5 := 89a2d6c05253c4de9a1bf9d5710bb7ae
> > > +HOST_IMX_CST_VERSION := 3.4.1
> > > +HOST_IMX_CST_MD5 := b23ed5983734d4812fcf1da33eac8f31
> > > HOST_IMX_CST := cst-$(HOST_IMX_CST_VERSION)
> > > HOST_IMX_CST_SUFFIX := tgz
> > > HOST_IMX_CST_SOURCE :=
> > > $(SRCDIR)/$(HOST_IMX_CST).$(HOST_IMX_CST_SUFFIX)
> > > @@ -56,13 +56,9 @@ HOST_IMX_CST_CONF := NO
> > > HOST_IMX_CST_ARCH := \
> > > linux$(call ptx/ifeq, GNU_BUILD, x86_64-%, 64, 32)
> > >
> > > -$(STATEDIR)/host-imx-cst.compile:
> > > - @$(call targetinfo)
> > > - cd $(HOST_IMX_CST_DIR)/code/back_end/src && \
> > > - $(HOSTCC) \
> > > - -Wall -O2 -g3 -o
> > > ../../../$(HOST_IMX_CST_ARCH)/bin/cst \
> > > - -I ../hdr -L ../../../$(HOST_IMX_CST_ARCH)/lib *.c
> > > -lfrontend -lcrypto
> > > - @$(call touch)
> > > +HOST_IMX_CST_MAKE_ENV := \
> > > + $(HOST_ENV) \
> > > + OPENSSL_PATH="$(PTXDIST_SYSROOT_HOST)/usr/lib/"
> > >
> > > # ----------------------------------------------------------------
> > > ------------
> > > # Install
> > > @@ -71,19 +67,13 @@ $(STATEDIR)/host-imx-cst.compile:
> > > HOST_IMX_CST_PROGS := \
> > > cst \
> > > srktool \
> > > - x5092wtls
> > > -
> > > -HOST_IMX_CST_LIBS := \
> > > - libfrontend.a
> > > + mac_dump
> > >
> > > $(STATEDIR)/host-imx-cst.install:
> > > @$(call targetinfo)
> > > @$(foreach prog, $(HOST_IMX_CST_PROGS), \
> > > - install -v -m0755 -D
> > > $(HOST_IMX_CST_DIR)/$(HOST_IMX_CST_ARCH)/bin/$(prog) \
> > > + install -v -m0755 -D
> > > $(HOST_IMX_CST_DIR)/build/$(HOST_IMX_CST_ARCH)/bin/$(prog) \
> > > $(HOST_IMX_CST_PKGDIR)/usr/bin/$(prog)$(ptx/nl))
> > > - @$(foreach lib, $(HOST_IMX_CST_LIBS), \
> > > - install -v -m0644 -D
> > > $(HOST_IMX_CST_DIR)/$(HOST_IMX_CST_ARCH)/lib/$(lib) \
> > > - $(HOST_IMX_CST_PKGDIR)/usr/lib/imx-
> > > cst/$(lib)$(ptx/nl))
> > > @$(call touch)
> > >
> > > # vim: syntax=make
> > > --
> > > 2.39.5
> > >
> > >
> > >
> >
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2025-03-07 10:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-05 11:00 Rouven Czerwinski
2025-03-07 10:15 ` Michael Olbrich
2025-03-07 10:20 ` Rouven Czerwinski
2025-03-07 10:25 ` Michael Olbrich [this message]
2025-03-10 8:27 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z8rJfNsDL16cPlIt@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
--cc=r.czerwinski@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox