File tree Expand file tree Collapse file tree 2 files changed +406
-0
lines changed Expand file tree Collapse file tree 2 files changed +406
-0
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,11 @@ $(HEADER_BUILD)/compressed.collected: $(HEADER_BUILD)/compressed.split
146
146
$(ECHO ) " GEN $@ "
147
147
$(Q )$(PYTHON ) $(PY_SRC ) /makeqstrdefs.py cat compress _ $(HEADER_BUILD ) /compress $@
148
148
149
+ $(HEADER_BUILD ) /mpconfig.cfg : $(SRC_QSTR ) $(QSTR_GLOBAL_DEPENDENCIES ) $(HEADER_BUILD ) /moduledefs.h $(GEN_PINS_HDR ) | $(QSTR_GLOBAL_REQUIREMENTS )
150
+ $(ECHO ) " GEN $@ "
151
+ $(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 $^
152
+
153
+
149
154
# $(sort $(var)) removes duplicates
150
155
#
151
156
# The net effect of this, is it causes the objects to depend on the
@@ -244,4 +249,8 @@ print-def:
244
249
@$(CC ) -E -Wp,-dM __empty__.c
245
250
@$(RM ) -f __empty__.c
246
251
252
+ show-config : $(HEADER_BUILD ) /mpconfig.cfg
253
+ @echo " Build configuration recorded in: $( HEADER_BUILD) /mpconfig.cfg"
254
+ .PHONY : show-config
255
+
247
256
-include $(OBJ :.o=.P)
You can’t perform that action at this time.
0 commit comments