diff options
| author | robert-hh <robert@hammelrath.com> | 2022-06-24 08:27:23 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-10-06 23:08:00 +1100 |
| commit | b0017304625b5d33bea548166b010bd2c3bf465d (patch) | |
| tree | 8dcdf9cb1f4818e1960dc6266b8769be0f702221 | |
| parent | 560170de024353354b4bcd1682392f2bb282c12d (diff) | |
samd/Makefile: Fix a dependency problem with "make -j".
The build directory was not created before attempting to create the
generated files in it.
| -rw-r--r-- | ports/samd/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ports/samd/Makefile b/ports/samd/Makefile index 9a03502ab..d8ca0f8ba 100644 --- a/ports/samd/Makefile +++ b/ports/samd/Makefile @@ -194,12 +194,13 @@ $(BUILD)/firmware.uf2: $(BUILD)/firmware.bin pin_af.c: $(BUILD)/$(GEN_PIN_AF) -$(BUILD)/$(GEN_PIN_AF): $(PIN_AF_TABLE_CSV) +$(BUILD)/$(GEN_PIN_AF): $(PIN_AF_TABLE_CSV) | $(HEADER_BUILD) $(ECHO) "Create $@" $(Q)$(PYTHON) $(MAKE_PIN_AF) --csv $(PIN_AF_TABLE_CSV) --table $(BUILD)/$(GEN_PIN_AF) --mcu $(MCU_SERIES) +machine_led.c machine_pin.c modsamd.c: $(GEN_PINS_HDR) -$(GEN_PINS_SRC): $(BOARD_PINS) +$(GEN_PINS_SRC) $(GEN_PINS_HDR): $(BOARD_PINS) | $(HEADER_BUILD) $(ECHO) "Create $@" $(Q)$(PYTHON) $(MAKE_PINS) --board $(BOARD_PINS) --pins $(GEN_PINS_SRC) --inc $(GEN_PINS_HDR) |
