fix -j1 builds, particularly CPX

This commit is contained in:
Dan Halbert 2023-08-12 16:49:03 -04:00
parent 48e404ab90
commit 433059023d
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ endif
OBJ_EXTRA_ORDER_DEPS =
# Generate moduledefs.h.
SRC_QSTR += $(HEADER_BUILD)/devices.h
OBJ_EXTRA_ORDER_DEPS += $(HEADER_BUILD)/moduledefs.h
ifeq ($(MICROPY_ROM_TEXT_COMPRESSION),1)

View File

@ -86,6 +86,7 @@ else
endif
OBJ_EXTRA_ORDER_DEPS += $(HEADER_BUILD)/devices.h
SRC_QSTR += $(HEADER_BUILD)/devices.h
$(HEADER_BUILD)/devices.h : ../../supervisor/shared/external_flash/devices.h.jinja ../../tools/gen_nvm_devices.py | $(HEADER_BUILD)
$(STEPECHO) "GEN $@"
$(Q)install -d $(BUILD)/genhdr