* [meta-oe][RESEND PATCH v2] imx-cst: Replace hard-coded linux64 with linux${SITEINFO_BITS}
@ 2025-09-02 18:07 Marek Vasut
2025-09-02 18:08 ` Marek Vasut
2025-09-02 18:54 ` [oe] " Fabio Estevam
0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2025-09-02 18:07 UTC (permalink / raw)
To: openembedded-devel
Cc: Marek Vasut, Kelefa Sane, Khem Raj, Ulrich Ölmann,
Yoann Congal
Replace hard-coded linux64 with linux${SITEINFO_BITS}. This way,
32bit machines can also build and use this tool correctly.
Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
---
Cc: Kelefa Sane <kelefa.sane@smile.fr>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Ulrich Ölmann <u.oelmann@pengutronix.de>
Cc: Yoann Congal <yoann.congal@smile.fr>
---
V2: - inherit siteinfo
---
meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
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
index 12b319843e..97117eb914 100644
--- 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
@@ -25,15 +25,17 @@ S = "${UNPACKDIR}/${DEBIAN_PGK_NAME}-${DEBIAN_PGK_VERSION}"
EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" AR="${AR}" OBJCOPY="${OBJCOPY}"'
+inherit siteinfo
+
do_compile() {
- oe_runmake -C code/obj.linux64 OSTYPE=linux64 ENCRYPTION=yes COPTIONS="${CFLAGS} ${CPPFLAGS}" LDOPTIONS="${LDFLAGS}"
+ oe_runmake -C code/obj.linux${SITEINFO_BITS} OSTYPE=linux${SITEINFO_BITS} 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}/code/obj.linux${SITEINFO_BITS}/cst ${D}${bindir}/
+ install -m 755 ${S}/code/obj.linux${SITEINFO_BITS}/srktool ${D}${bindir}
install -m 755 ${S}/add-ons/hab_csf_parser/csf_parser ${D}${bindir}
}
--
2.50.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-oe][RESEND PATCH v2] imx-cst: Replace hard-coded linux64 with linux${SITEINFO_BITS}
2025-09-02 18:07 [meta-oe][RESEND PATCH v2] imx-cst: Replace hard-coded linux64 with linux${SITEINFO_BITS} Marek Vasut
@ 2025-09-02 18:08 ` Marek Vasut
2025-09-02 18:54 ` [oe] " Fabio Estevam
1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2025-09-02 18:08 UTC (permalink / raw)
To: openembedded-devel
Cc: Kelefa Sane, Khem Raj, Ulrich Ölmann, Yoann Congal
On 9/2/25 8:07 PM, Marek Vasut wrote:
> Replace hard-coded linux64 with linux${SITEINFO_BITS}. This way,
> 32bit machines can also build and use this tool correctly.
>
> Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
> ---
> Cc: Kelefa Sane <kelefa.sane@smile.fr>
> Cc: Khem Raj <raj.khem@gmail.com>
> Cc: Ulrich Ölmann <u.oelmann@pengutronix.de>
> Cc: Yoann Congal <yoann.congal@smile.fr>
> ---
> V2: - inherit siteinfo
Sorry for the all the noise, had some ML subscription issues, now resolved.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [oe] [meta-oe][RESEND PATCH v2] imx-cst: Replace hard-coded linux64 with linux${SITEINFO_BITS}
2025-09-02 18:07 [meta-oe][RESEND PATCH v2] imx-cst: Replace hard-coded linux64 with linux${SITEINFO_BITS} Marek Vasut
2025-09-02 18:08 ` Marek Vasut
@ 2025-09-02 18:54 ` Fabio Estevam
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2025-09-02 18:54 UTC (permalink / raw)
To: marek.vasut
Cc: openembedded-devel, Kelefa Sane, Khem Raj, Ulrich Ölmann,
Yoann Congal
On Tue, Sep 2, 2025 at 3:08 PM Marek Vasut via lists.openembedded.org
<marek.vasut=mailbox.org@lists.openembedded.org> wrote:
>
> Replace hard-coded linux64 with linux${SITEINFO_BITS}. This way,
> 32bit machines can also build and use this tool correctly.
>
> Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Thanks for the fix.
Reviewed-by: Fabio Estevam <festevam@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-02 18:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-02 18:07 [meta-oe][RESEND PATCH v2] imx-cst: Replace hard-coded linux64 with linux${SITEINFO_BITS} Marek Vasut
2025-09-02 18:08 ` Marek Vasut
2025-09-02 18:54 ` [oe] " Fabio Estevam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).