From c86f31295cf5dcb39edd87aa560fc84a8a0b13ff Mon Sep 17 00:00:00 2001 From: Yifan Wu Date: Sat, 27 Nov 2021 01:54:59 -0800 Subject: [PATCH] Update os/Makefile, rm ... -f -> rm -f ... --- os/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/Makefile b/os/Makefile index 35049e01..505d37ec 100644 --- a/os/Makefile +++ b/os/Makefile @@ -33,9 +33,9 @@ build: env switch-check $(KERNEL_BIN) switch-check: 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) - (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 env: