Update os/Makefile, rm ... -f -> rm -f ...
This commit is contained in:
parent
26ca0de950
commit
f8f03d2b74
1 changed files with 3 additions and 3 deletions
|
@ -36,9 +36,9 @@ build: env switch-check $(KERNEL_BIN) fs-img
|
||||||
|
|
||||||
switch-check:
|
switch-check:
|
||||||
ifeq ($(BOARD), qemu)
|
ifeq ($(BOARD), qemu)
|
||||||
(which last-qemu) || (rm last-k210 -f && touch last-qemu && make clean)
|
(which last-qemu) || (rm -f last-k210 && touch last-qemu && make clean)
|
||||||
else ifeq ($(BOARD), k210)
|
else ifeq ($(BOARD), k210)
|
||||||
(which last-k210) || (rm last-qemu -f && touch last-k210 && make clean)
|
(which last-k210) || (rm -f last-qemu && touch last-k210 && make clean)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -57,7 +57,7 @@ $(KERNEL_BIN): kernel
|
||||||
|
|
||||||
fs-img: $(APPS)
|
fs-img: $(APPS)
|
||||||
@cd ../user && make build
|
@cd ../user && make build
|
||||||
@rm $(FS_IMG) -f
|
@rm -f $(FS_IMG)
|
||||||
@cd ../easy-fs-fuse && cargo run --release -- -s ../user/src/bin/ -t ../user/target/riscv64gc-unknown-none-elf/release/
|
@cd ../easy-fs-fuse && cargo run --release -- -s ../user/src/bin/ -t ../user/target/riscv64gc-unknown-none-elf/release/
|
||||||
|
|
||||||
$(APPS):
|
$(APPS):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue