* [meta-security][PATCH] Parsec-service: Fix arm32 build
@ 2022-05-23 12:04 Anton Antonov
2022-05-26 23:10 ` [yocto] " akuster808
0 siblings, 1 reply; 2+ messages in thread
From: Anton Antonov @ 2022-05-23 12:04 UTC (permalink / raw)
To: yocto; +Cc: Anton.Antonov
Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
---
.../recipes-parsec/parsec-service/parsec-service_1.0.0.bb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb
index ad7e560..84539f9 100644
--- a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb
+++ b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb
@@ -26,7 +26,11 @@ PARSEC_FEATURES = "${@d.getVar('PACKAGECONFIG_CONFARGS',True).strip().replace('
CARGO_BUILD_FLAGS += " --features ${PARSEC_FEATURES}"
export BINDGEN_EXTRA_CLANG_ARGS
-BINDGEN_EXTRA_CLANG_ARGS = "--sysroot=${WORKDIR}/recipe-sysroot -I${WORKDIR}/recipe-sysroot/usr/include"
+target = "${@d.getVar('TARGET_SYS',True).replace('-', ' ')}"
+BINDGEN_EXTRA_CLANG_ARGS = "${@bb.utils.contains('target', 'arm', \
+ '--sysroot=${WORKDIR}/recipe-sysroot -I${WORKDIR}/recipe-sysroot/usr/include -mfloat-abi=hard', \
+ '--sysroot=${WORKDIR}/recipe-sysroot -I${WORKDIR}/recipe-sysroot/usr/include', \
+ d)}"
inherit systemd
SYSTEMD_SERVICE:${PN} = "parsec.service"
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [yocto] [meta-security][PATCH] Parsec-service: Fix arm32 build
2022-05-23 12:04 [meta-security][PATCH] Parsec-service: Fix arm32 build Anton Antonov
@ 2022-05-26 23:10 ` akuster808
0 siblings, 0 replies; 2+ messages in thread
From: akuster808 @ 2022-05-26 23:10 UTC (permalink / raw)
To: Anton Antonov, yocto
thanks.
merged.
On 5/23/22 05:04, Anton Antonov wrote:
> Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
> ---
> .../recipes-parsec/parsec-service/parsec-service_1.0.0.bb | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb
> index ad7e560..84539f9 100644
> --- a/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb
> +++ b/meta-parsec/recipes-parsec/parsec-service/parsec-service_1.0.0.bb
> @@ -26,7 +26,11 @@ PARSEC_FEATURES = "${@d.getVar('PACKAGECONFIG_CONFARGS',True).strip().replace('
> CARGO_BUILD_FLAGS += " --features ${PARSEC_FEATURES}"
>
> export BINDGEN_EXTRA_CLANG_ARGS
> -BINDGEN_EXTRA_CLANG_ARGS = "--sysroot=${WORKDIR}/recipe-sysroot -I${WORKDIR}/recipe-sysroot/usr/include"
> +target = "${@d.getVar('TARGET_SYS',True).replace('-', ' ')}"
> +BINDGEN_EXTRA_CLANG_ARGS = "${@bb.utils.contains('target', 'arm', \
> + '--sysroot=${WORKDIR}/recipe-sysroot -I${WORKDIR}/recipe-sysroot/usr/include -mfloat-abi=hard', \
> + '--sysroot=${WORKDIR}/recipe-sysroot -I${WORKDIR}/recipe-sysroot/usr/include', \
> + d)}"
>
> inherit systemd
> SYSTEMD_SERVICE:${PN} = "parsec.service"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#57154): https://lists.yoctoproject.org/g/yocto/message/57154
> Mute This Topic: https://lists.yoctoproject.org/mt/91286325/3616698
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [akuster808@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-26 23:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-23 12:04 [meta-security][PATCH] Parsec-service: Fix arm32 build Anton Antonov
2022-05-26 23:10 ` [yocto] " akuster808
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.