summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/futility/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/futility/Makefile b/util/futility/Makefile
index 36f2b317f7..cce5da6e9d 100644
--- a/util/futility/Makefile
+++ b/util/futility/Makefile
@@ -1,5 +1,6 @@
top ?= $(abspath ../..)
objutil ?= $(top)/util
+RM ?= rm
HOSTCC ?= $(CC)
VBOOT_SOURCE ?= $(top)/3rdparty/vboot
@@ -9,8 +10,8 @@ all: $(objutil)/futility/futility
.PHONY: clean
clean:
- $(RM) $(objutil)/futility/futility
- $(RM) -r $(objutil)/futility/build
+ $(RM) -f $(objutil)/futility/futility
+ $(RM) -rf $(objutil)/futility/build
distclean: clean