Merge branch 'bugfix_kconfig_deps_missing_v3.3' into 'release/v3.3'

kconfig: Add -MP option so .d files include empty targets (v3.3)

See merge request espressif/esp-idf!5847
This commit is contained in:
Jiang Jiang Jian 2019-09-08 23:17:29 +08:00
commit 9f3f7009c0

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
%.o: $(SRCDIR)/%.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@