From 377eec2061c5a351a80f9adcce516d73aeff0cf2 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Mon, 19 Jan 2015 17:58:07 +0100 Subject: [PATCH] Add clean-build-tools target. --- Makefile | 6 ++++++ doc/cross-development | 1 + 2 files changed, 7 insertions(+) diff --git a/Makefile b/Makefile index c3f7be96..3937b738 100644 --- a/Makefile +++ b/Makefile @@ -112,6 +112,12 @@ endif cp -RTv "$(SYSROOT)/$$ENTRY" "$(DESTDIR)/$$ENTRY" || exit $$?; \ done +.PHONY: clean-build-tools +clean-build-tools: + $(MAKE) -C carray clean + $(MAKE) -C mkinitrd clean + $(MAKE) -C tix clean + .PHONY: build-tools build-tools: $(MAKE) -C carray diff --git a/doc/cross-development b/doc/cross-development index f051529c..996ebc59 100644 --- a/doc/cross-development +++ b/doc/cross-development @@ -96,6 +96,7 @@ tree into the ~/sortix directory, you can install them by typing the following commands: cd ~/sortix && + make PREFIX="$CROSS_PREFIX" clean-build-tools && make PREFIX="$CROSS_PREFIX" build-tools && make PREFIX="$CROSS_PREFIX" install-build-tools && make distclean