Merge branch 'bugfix_kconfig_deps_missing_v3.1' into 'release/v3.1'
kconfig: Add -MP option so .d files include empty targets (v3.1) See merge request espressif/esp-idf!5849
This commit is contained in:
commit
c86be32b6d
|
@ -165,7 +165,7 @@ check-lxdialog := $(SRCDIR)/lxdialog/check-lxdialog.sh
|
||||||
# Use recursively expanded variables so we do not call gcc unless
|
# 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)
|
# we really need to do so. (Do not call gcc as part of make mrproper)
|
||||||
CFLAGS += $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags) \
|
CFLAGS += $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags) \
|
||||||
-DLOCALE -MD
|
-DLOCALE -MMD -MP
|
||||||
|
|
||||||
%.o: $(SRCDIR)/%.c
|
%.o: $(SRCDIR)/%.c
|
||||||
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
|
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
|
||||||
|
|
Loading…
Reference in a new issue