X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=include%2Ftoplevel.mk;h=e45626422157bb78cef15a5c798296b80f1abda9;hb=c6bc77ea365704f3f5c79d64aed069792a4e95b1;hp=af4b390e4eb04909ee75fc38a24eb55b410fe658;hpb=9882253827b16579bbd317f6e8c0deb75b0ca0f3;p=openwrt%2F.git diff --git a/include/toplevel.mk b/include/toplevel.mk index af4b390e4e..e456264221 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