diff options
author | Martin Roth <gaumless@gmail.com> | 2017-03-26 18:37:51 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-29 05:16:49 +0200 |
commit | b4f2b15f0550ef027e91c86c5bfc2d473bf14670 (patch) | |
tree | 5ceea6c2ab3b7dec22e0fa787262696ab8813197 /util | |
parent | 3c645391c0b7272f66d842bed454c29ceb9ce0bf (diff) |
util/futility/Makefile: Update clean target
- Fix clean target to pass if output doesn't exist
- Make sure $(RM) is actually defined
Change-Id: Ibcdb0e329084f58b27c3f53213a237d02c922a51
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: https://review.coreboot.org/18998
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Kocialkowski <contact@paulk.fr>
Tested-by: build bot (Jenkins)
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util')
-rw-r--r-- | util/futility/Makefile | 5 |
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 |