]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/rust-itoa
kernel: update to 6.6.32
[ipfire-2.x.git] / lfs / rust-itoa
index 8d1758a0a7ced74ab37ae1bfd3609dea166d75f3..162c94474fc94a6f506f5d95f3167c0934389e3c 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)