add a macro to compare kernel patch versions and use it for crypto and watchdog chang...
[openwrt/svn-archive/archive.git] / include / toplevel.mk
index 3c2e46d8b8d85b926212c80224e6be770ff4ca83..a2eae553198b620a110479a5896869cd284d9950 100644 (file)
@@ -118,12 +118,9 @@ docs docs/compile: FORCE
 docs/clean: FORCE
        $(MAKE) -C docs clean
 
-symlinkclean:
-       -find package -type l | xargs rm -f
-       rm -rf tmp
-
 distclean:
-       rm -rf tmp build_dir staging_dir dl .config* feeds bin
+       rm -rf tmp build_dir staging_dir dl .config* feeds package/feeds package/openwrt-packages bin
+       $(MAKE) -C scripts/config clean
 
 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