[coreboot-gerrit] Change in coreboot[master]: util/futility/Makefile: Update clean target
Martin Roth (Code Review)
gerrit at coreboot.org
Mon Mar 27 18:59:45 CEST 2017
Martin Roth has uploaded a new change for review. ( https://review.coreboot.org/18998 )
Change subject: util/futility/Makefile: Update clean target
......................................................................
util/futility/Makefile: Update clean target
- Fix clean target to pass if output doesn't exist
- Make sure $(RM) is actually defined
- Remove junit.xml file if it was generated by what-jenkins-does
Change-Id: Ibcdb0e329084f58b27c3f53213a237d02c922a51
Signed-off-by: Martin Roth <gaumless at gmail.com>
---
M util/futility/Makefile
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/18998/2
diff --git a/util/futility/Makefile b/util/futility/Makefile
index 36f2b31..5dbca3a 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 @@
.PHONY: clean
clean:
- $(RM) $(objutil)/futility/futility
- $(RM) -r $(objutil)/futility/build
+ $(RM) -f $(objutil)/futility/futility junit.xml
+ $(RM) -rf $(objutil)/futility/build
distclean: clean
--
To view, visit https://review.coreboot.org/18998
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibcdb0e329084f58b27c3f53213a237d02c922a51
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Martin Roth <martinroth at google.com>
More information about the coreboot-gerrit
mailing list