From 131fb6b57a0ade5640f32f88d98eeaf883eb1d2a Mon Sep 17 00:00:00 2001 From: abdul124 Date: Wed, 7 Aug 2024 13:24:51 +0800 Subject: [PATCH] Makefile: add --locked --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 3f84d24..a75c080 100644 --- a/src/Makefile +++ b/src/Makefile @@ -23,7 +23,7 @@ manifests: $(manifests) ../build/firmware/armv7-none-eabihf/release/runtime: ../build/pl.rs ../build/rustc-cfg ../build/mem.rs $(manifests) $(shell find . -type f -not -name Cargo.toml -print) cd runtime && \ XBUILD_SYSROOT_PATH=`pwd`/../../build/sysroot \ - cargo xbuild --release \ + cargo xbuild --release --locked \ --target-dir ../../build/firmware \ --no-default-features --features=target_$(TARGET) @@ -33,7 +33,7 @@ manifests: $(manifests) ../build/firmware/armv7-none-eabihf/release/satman: ../build/pl.rs ../build/rustc-cfg ../build/mem.rs $(manifests) $(shell find . -type f -not -name Cargo.toml -print) cd satman && \ XBUILD_SYSROOT_PATH=`pwd`/../../build/sysroot \ - cargo xbuild --release \ + cargo xbuild --release --locked \ --target-dir ../../build/firmware \ --no-default-features --features=target_$(TARGET)