[coreboot-gerrit] New patch to review for coreboot: crossgcc/Makefile: clean more, add distclean target

Martin Roth (gaumless@gmail.com) gerrit at coreboot.org
Sun Jun 21 21:07:08 CEST 2015


Martin Roth (gaumless at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10621

-gerrit

commit 70830bd9bd13d767821041b9a2e832cf2f73a9cf
Author: Martin Roth <gaumless at gmail.com>
Date:   Sun Jun 21 13:05:03 2015 -0600

    crossgcc/Makefile: clean more, add distclean target
    
    Update the clean target to remove the intermediate files.  These should
    get removed automatically, but if the build stops in the middle, or if
    the -t command is used for buildgcc, they can be left in the directory.
    
    Add a distclean target that removes the downloaded tarballs as well as
    everything else.
    
    Change-Id: I6ea19e7a499b0c313c1d2eff7e36386204ec834e
    Signed-off-by: Martin Roth <gaumless at gmail.com>
---
 util/crossgcc/Makefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index d0ab28a..2104a89 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -44,5 +44,13 @@ build-riscv-without-gdb:
 
 clean:
 	rm -rf xgcc
+	rm -rf build-*
+	rm -rf binutils-* gcc-* gmp-* libelf-* mpc-* mpfr-*
+	rm -rf llvm-* clang-tools-* cfe-* compiler-rt-*
+	rm -rf acpica-*
+	rm -rf gdb-*
 
-.PHONY: all build clean
+distclean: clean
+	rm -rf tarballs
+
+.PHONY: all build clean distclean



More information about the coreboot-gerrit mailing list