1
0
Fork 0

Makefile: Forcible remove frozen content

The micropython build system has incomplete dependancy tracking, especially
with regard to frozen manifests. Work round this by nuking the frozen
content before attempting a build. Sure this is a hack... but much
better than developing a "make clean; make all" habit.
This commit is contained in:
Daniel Thompson 2020-01-30 21:45:35 +00:00
parent d3d98c8ffb
commit ef5d805c51

View file

@ -29,6 +29,7 @@ softdevice:
micropython:
$(MAKE) -C micropython/mpy-cross
$(RM) micropython/ports/nrf/build-$(BOARD)-s132/frozen_content.c
$(MAKE) -C micropython/ports/nrf \
BOARD=$(BOARD) SD=s132 \
FROZEN_MANIFEST=$(PWD)/manifest/$(BOARD).py