[OpenWrt-Users] [PATCH] Add the "bin" directory as a target for "make distclean".

Robert P. J. Day rpjday at crashcourse.ca
Wed Mar 12 15:41:13 CET 2008


Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>

---

diff --git a/include/toplevel.mk b/include/toplevel.mk
index 2787872..3c2e46d 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -123,7 +123,7 @@ symlinkclean:
 	rm -rf tmp

 distclean:
-	rm -rf tmp build_dir staging_dir dl .config* feeds
+	rm -rf tmp build_dir staging_dir dl .config* feeds bin

 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 prepare-tmpinfo

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================


More information about the openwrt-users mailing list