Re: [meta-security][PATCH] Do not use clang toolchain in Parsec recipes


Armin Kuster
 

On 7/15/21 4:42 AM, Anton Antonov wrote:
Signed-off-by: Anton Antonov <Anton.Antonov@...>
Merged.

thanks
Armin
---
.../recipes-parsec/parsec-service/parsec-service_0.7.0.bb | 3 +--
meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb | 2 --
2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb b/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb
index 0e14955..d57a43a 100644
--- a/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb
+++ b/meta-parsec/recipes-parsec/parsec-service/parsec-service_0.7.0.bb
@@ -10,8 +10,7 @@ SRC_URI += "crate://crates.io/parsec-service/${PV} \
file://parsec-tmpfiles.conf \
"

-DEPENDS = "tpm2-tss"
-TOOLCHAIN = "clang"
+DEPENDS = "tpm2-tss clang-native"

CARGO_BUILD_FLAGS += " --features all-providers,cryptoki/generate-bindings,tss-esapi/generate-bindings"

diff --git a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb
index 35c65c0..881f8d8 100644
--- a/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb
+++ b/meta-parsec/recipes-parsec/parsec-tool/parsec-tool_0.3.0.bb
@@ -7,8 +7,6 @@ inherit cargo
SRC_URI += "crate://crates.io/parsec-tool/${PV} \
"

-TOOLCHAIN = "clang"
-
do_install() {
install -d ${D}/${bindir}
install -m 755 "${B}/target/${TARGET_SYS}/release/parsec-tool" "${D}${bindir}/parsec-tool"


Join yocto@lists.yoctoproject.org to automatically receive all group messages.