Fixes issue where build gets stuck because of .d files in the
tools/kconfig directory.
Closes https://github.com/espressif/esp-idf/issues/712
# Use recursively expanded variables so we do not call gcc unless
# we really need to do so. (Do not call gcc as part of make mrproper)
CFLAGS += $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags) \
- -DLOCALE -MD
+ -DLOCALE -MMD
# ===========================================================================
# Shared Makefile for the various kconfig executables: