build: extend CONFIG_AUTOREMOVE to tools/
[openwrt/staging/lynxis/omap.git] / tools / Makefile
index a3bf69cd34e25828565e7c145760cb2ec7090fff..1fdf19769a273a19b4dca71ea0f5f360ca0a78fa 100644 (file)
@@ -100,6 +100,7 @@ $(foreach tool, $(tools-core), $(eval $(curdir)/$(tool)/compile += $(curdir)/sed
 $(curdir)/sed/compile := $(curdir)/flock/compile
 tools-y += flock sed
 
+$(curdir)/autoremove := 1
 $(curdir)/builddirs := $(tools-y) $(tools-dep) $(tools-)
 $(curdir)/builddirs-default := $(tools-y)