File tree Expand file tree Collapse file tree 2 files changed +405
-0
lines changed Expand file tree Collapse file tree 2 files changed +405
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,11 @@ $(HEADER_BUILD)/compressed.collected: $(HEADER_BUILD)/compressed.split
123
123
$(ECHO ) " GEN $@ "
124
124
$(Q )$(PYTHON ) $(PY_SRC ) /makeqstrdefs.py cat compress _ $(HEADER_BUILD ) /compress $@
125
125
126
+ $(HEADER_BUILD ) /mpconfig.cfg : $(SRC_QSTR ) $(QSTR_GLOBAL_DEPENDENCIES ) $(HEADER_BUILD ) /moduledefs.h $(GEN_PINS_HDR ) | $(QSTR_GLOBAL_REQUIREMENTS )
127
+ $(ECHO ) " GEN $@ "
128
+ $(Q )$(PYTHON ) $(PY_SRC ) /mpconfig.py mpy $(TOP ) debug $(DEBUG ) pp $(CPP ) output $(HEADER_BUILD ) /mpconfig.cfg cflags $(QSTR_GEN_CFLAGS ) cxxflags $(QSTR_GEN_CXXFLAGS ) sources $^
129
+
130
+
126
131
# $(sort $(var)) removes duplicates
127
132
#
128
133
# The net effect of this, is it causes the objects to depend on the
@@ -221,4 +226,8 @@ print-def:
221
226
@$(CC ) -E -Wp,-dM __empty__.c
222
227
@$(RM ) -f __empty__.c
223
228
229
+ show-config : $(HEADER_BUILD ) /mpconfig.cfg
230
+ @echo " Build configuration recorded in: $( HEADER_BUILD) /mpconfig.cfg"
231
+ .PHONY : show-config
232
+
224
233
-include $(OBJ :.o=.P)
You can’t perform that action at this time.
0 commit comments