Update os/Makefile, rm ... -f -> rm -f ...

This commit is contained in:
Yifan Wu 2021-11-27 01:51:19 -08:00
parent 47904b9dfd
commit 15bd7b9b14

View File

@ -33,9 +33,9 @@ build: env switch-check $(KERNEL_BIN)
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: