Remove abundant downloads
@@ -94,15 +94,20 @@ image: $(OUT_IMG)
@qemu-img resize $(OUT_IMG) +5M
-riscv-image: rcore-fs-fuse riscv-rootfs toolchain linux-user
+riscv-image:
@echo building riscv.img
- @cd riscv_rootfs && mv libc-test libc-test-prebuild
- @cd riscv_rootfs && git clone $(LIBC_TEST_URL) --depth 1
- @cd riscv_rootfs/libc-test && cp config.mak.def config.mak && make ARCH=riscv64 CROSS_COMPILE=riscv64-linux-musl- -j
- @cd riscv_rootfs && cp libc-test-prebuild/functional/tls_align-static.exe libc-test/src/functional/
@rcore-fs-fuse zCore/riscv64.img riscv_rootfs zip
@qemu-img resize -f raw zCore/riscv64.img +5M
+# riscv-image: rcore-fs-fuse riscv-rootfs toolchain linux-user
+# @echo building riscv.img
+# @cd riscv_rootfs && mv libc-test libc-test-prebuild
+# @cd riscv_rootfs && git clone $(LIBC_TEST_URL) --depth 1
+# @cd riscv_rootfs/libc-test && cp config.mak.def config.mak && make ARCH=riscv64 CROSS_COMPILE=riscv64-linux-musl- -j
+# @cd riscv_rootfs && cp libc-test-prebuild/functional/tls_align-static.exe libc-test/src/functional/
+# @rcore-fs-fuse zCore/riscv64.img riscv_rootfs zip
+# @qemu-img resize -f raw zCore/riscv64.img +5M
+
clean:
cargo clean
find zCore -maxdepth 1 -name "*.img" -delete
