From 59db2ebad7198464be76af5615fb0c8b56482315 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 11 Feb 2022 10:56:08 +0000 Subject: [PATCH] arm/secure-partitions: allow network operations during do_configure trusted-services and psa-arch-tests both use FetchContent to download more source during configure, and they can't easily be seeded with the correct sources in advance (unlike TF-M). Until this is fixed upstream, allow network use during do_configure. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- .../recipes-security/trusted-services/secure-partitions.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-arm/recipes-security/trusted-services/secure-partitions.inc b/meta-arm/recipes-security/trusted-services/secure-partitions.inc index 2f56502e..1df7409c 100644 --- a/meta-arm/recipes-security/trusted-services/secure-partitions.inc +++ b/meta-arm/recipes-security/trusted-services/secure-partitions.inc @@ -20,3 +20,8 @@ SECURITY_LDFLAGS = "" TARGET_LDFLAGS = "-Wl,--build-id=none -Wl,--hash-style=both" do_configure[cleandirs] = "${B}" + +# Currently trusted-services and psa-arch-tests use FetchContent to download +# more sources during do_configure. Until this is resolved we need to allow +# network operations. +do_configure[network] = "1"