Merge branch 'bugfix_kconfig_deps_missing_v4.0' into 'release/v4.0'

kconfig: Add -MP option so .d files include empty targets (v4.0)

See merge request espressif/esp-idf!5845
This commit is contained in:
Jiang Jiang Jian 2019-09-02 12:43:28 +08:00
commit 0d3fde04ff

View file

@ -165,7 +165,7 @@ check-lxdialog := $(SRCDIR)/lxdialog/check-lxdialog.sh
# 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 -MMD
-DLOCALE -MMD -MP
CFLAGS += -I "." -I "${SRCDIR}"