build: clean menuconfig utility as part of dirclean
[openwrt/openwrt.git] / Makefile
index 181c33b180f2016f6e1ce33c96b53791980ce940..fd705a37ad827cb72ec9a7f85d794a1d4e9f8158 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,7 @@ clean: FORCE
 dirclean: clean
        rm -rf $(STAGING_DIR_HOST) $(STAGING_DIR_HOSTPKG) $(TOOLCHAIN_DIR) $(BUILD_DIR_BASE)/host $(BUILD_DIR_BASE)/hostpkg $(BUILD_DIR_TOOLCHAIN)
        rm -rf $(TMP_DIR)
+       $(MAKE) -C $(TOPDIR)/scripts/config clean
 
 ifndef DUMP_TARGET_DB
 $(BUILD_DIR)/.prepared: Makefile