summaryrefslogtreecommitdiff
path: root/util/superiotool
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2015-10-21 14:50:00 -0600
committerPatrick Georgi <pgeorgi@google.com>2015-10-24 10:55:45 +0200
commit0be83c09a066119f5fded3bd1344f90a0a98d52c (patch)
tree81c1e14b800ae80ed493b9fa523c6c3ad260a076 /util/superiotool
parent535452d15462ed9126c67b63c08c12ee6e44f790 (diff)
util: Update makefiles for junit testing
- Have clean remove junit.xml files. - Remove junit.xml target from cbmem makefile - this is in the top level Makefile.inc now. - add distclean targets to makefiles. - Make sure all makefiles have .PHONY set up. - rm commands need -f or they will fail if the file they're trying to remove doesn't exist, causing the build to fail. Change-Id: I2f0635f2c0a9417e3377a90c8d67103323c4a72f Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: http://review.coreboot.org/12120 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/superiotool')
-rw-r--r--util/superiotool/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index b005a3fca7..0736713b09 100644
--- a/util/superiotool/Makefile
+++ b/util/superiotool/Makefile
@@ -73,6 +73,8 @@ install: $(PROGRAM)
$(INSTALL) -p -m644 $(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8
clean:
- rm -f $(PROGRAM) *.o
+ rm -f $(PROGRAM) *.o junit.xml
-.PHONY: all install clean
+distclean: clean
+
+.PHONY: all install clean distclean