Message ID | 20220211105608.2483647-3-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [1/5] CI: build perf via CORE_IMAGE_EXTRA_INSTALL | expand |
diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.0.bb b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.0.bb index c0eee5cc..619162be 100644 --- a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.0.bb +++ b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.0.bb @@ -78,6 +78,9 @@ PACKAGECONFIG[cc-armclang] = "-DTFM_TOOLCHAIN_FILE=${S}/toolchain_ARMCLANG.cmake PACKAGECONFIG[test-secure] = "-DTEST_S=ON,-DTEST_S=OFF" PACKAGECONFIG[test-nonsecure] = "-DTEST_NS=ON,-DTEST_NS=OFF" +# Don't let FetchContent download more sources during do_configure +EXTRA_OECMAKE += "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" + # Add platform parameters EXTRA_OECMAKE += "-DTFM_PLATFORM=${TFM_PLATFORM}"
TF-M uses FetchContent to download further sources at configure time, but this is bad form as the sources and licenses are not tracked or archived. This should now be blocked by the network isolation but as this doesn't work in some environments (such as Docker containers) we can tell cmake to never fetch to be sure that all of the sources used are declared in SRC_URI. Signed-off-by: Ross Burton <ross.burton@arm.com> --- .../recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.0.bb | 3 +++ 1 file changed, 3 insertions(+)