diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-06-11 20:46:04 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-06-11 20:46:04 (GMT) |
| commit | 7cb9f4f2ebfd029ebfadc9722f80e54e8b6b3666 (patch) | |
| tree | fe52cdd9e7a5619264aab0c65f4ae6f70b43c94e /Makefile | |
| parent | df9d80f6f7c906764b02f33a7491d36bfe7efd52 (diff) | |
Makefile: Delete stale bootloader binaries
Currently when the the bootloader is modified if fails to build because
the wildcard in the hex merge picks up both the old and new binaries.
Fix this by explicitly deleting the old one.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,6 +15,7 @@ submodules : git submodule update --init --recursive bootloader: + $(RM) bootloader/_build-$(BOARD)_nrf52832//$(BOARD)_nrf52832_bootloader-*-nosd.hex $(MAKE) -C bootloader/ BOARD=$(BOARD)_nrf52832 all genhex python3 tools/hexmerge.py \ bootloader/_build-$(BOARD)_nrf52832/$(BOARD)_nrf52832_bootloader-*-nosd.hex \ |
