Disable drivers that we do not package within the mac80211 package (everything except...
[openwrt/svn-archive/archive.git] / include / toplevel.mk
index 2787872c1f15e2f0dc10c0ff5c37cd47d7f60a9f..ebbf749727b2d3981d9afb2e06d5714a9dcb2681 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
+       rm -rf tmp build_dir staging_dir dl .config* feeds package/feeds 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