From c6bc77ea365704f3f5c79d64aed069792a4e95b1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 7 Aug 2007 00:04:25 +0000 Subject: build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html SVN-Revision: 8362 --- include/toplevel.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/toplevel.mk') diff --git a/include/toplevel.mk b/include/toplevel.mk index af4b390..e456264 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -94,7 +94,7 @@ download: .config FORCE $(MAKE) -j1 package/download $(MAKE) -j1 target/download -clean dirclean distclean: +clean dirclean: @$(MAKE) $@ prereq:: .config @@ -118,6 +118,9 @@ symlinkclean: -find package -type l | xargs rm -f rm -rf tmp +distclean: + rm -rf tmp build_dir staging_dir dl .config* + ifeq ($(findstring v,$(DEBUG)),) .SILENT: symlinkclean clean dirclean distclean config-clean download help tmpinfo-clean .config scripts/config/mconf scripts/config/conf menuconfig tmp/.prereq-build tmp/.prereq-package tmp/.prereq-target prepare-tmpinfo endif -- cgit v1.1