diff options
| author | Marek Vasut <marek.vasut@mailbox.org> | 2025-09-02 20:07:38 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-09-02 23:36:18 -0700 |
| commit | 2de2663b8aa901d3f2bdc182e29605c2f814107b (patch) | |
| tree | 455125202cb8546723fd127a8c0fd5b8ebf2ed0a | |
| parent | cf96ad86223302cd1ca4f8958121e26ebf5bd6cc (diff) | |
| download | meta-openembedded-2de2663b8aa901d3f2bdc182e29605c2f814107b.tar.gz | |
imx-cst: Replace hard-coded linux64 with linux${SITEINFO_BITS}
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>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/imx-cst/imx-cst_3.4.1.bb | 8 |
1 files 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}" | |||
| 25 | 25 | ||
| 26 | EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" AR="${AR}" OBJCOPY="${OBJCOPY}"' | 26 | EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" AR="${AR}" OBJCOPY="${OBJCOPY}"' |
| 27 | 27 | ||
| 28 | inherit siteinfo | ||
| 29 | |||
| 28 | do_compile() { | 30 | do_compile() { |
| 29 | oe_runmake -C code/obj.linux64 OSTYPE=linux64 ENCRYPTION=yes COPTIONS="${CFLAGS} ${CPPFLAGS}" LDOPTIONS="${LDFLAGS}" | 31 | oe_runmake -C code/obj.linux${SITEINFO_BITS} OSTYPE=linux${SITEINFO_BITS} ENCRYPTION=yes COPTIONS="${CFLAGS} ${CPPFLAGS}" LDOPTIONS="${LDFLAGS}" |
| 30 | oe_runmake -C add-ons/hab_csf_parser COPTS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" | 32 | oe_runmake -C add-ons/hab_csf_parser COPTS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" |
| 31 | } | 33 | } |
| 32 | 34 | ||
| 33 | do_install () { | 35 | do_install () { |
| 34 | install -d ${D}${bindir} | 36 | install -d ${D}${bindir} |
| 35 | install -m 755 ${S}/code/obj.linux64/cst ${D}${bindir}/ | 37 | install -m 755 ${S}/code/obj.linux${SITEINFO_BITS}/cst ${D}${bindir}/ |
| 36 | install -m 755 ${S}/code/obj.linux64/srktool ${D}${bindir} | 38 | install -m 755 ${S}/code/obj.linux${SITEINFO_BITS}/srktool ${D}${bindir} |
| 37 | install -m 755 ${S}/add-ons/hab_csf_parser/csf_parser ${D}${bindir} | 39 | install -m 755 ${S}/add-ons/hab_csf_parser/csf_parser ${D}${bindir} |
| 38 | } | 40 | } |
| 39 | 41 | ||
