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:
parent
d3d98c8ffb
commit
ef5d805c51
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -29,6 +29,7 @@ softdevice:
|
||||||
|
|
||||||
micropython:
|
micropython:
|
||||||
$(MAKE) -C micropython/mpy-cross
|
$(MAKE) -C micropython/mpy-cross
|
||||||
|
$(RM) micropython/ports/nrf/build-$(BOARD)-s132/frozen_content.c
|
||||||
$(MAKE) -C micropython/ports/nrf \
|
$(MAKE) -C micropython/ports/nrf \
|
||||||
BOARD=$(BOARD) SD=s132 \
|
BOARD=$(BOARD) SD=s132 \
|
||||||
FROZEN_MANIFEST=$(PWD)/manifest/$(BOARD).py
|
FROZEN_MANIFEST=$(PWD)/manifest/$(BOARD).py
|
||||||
|
|
Loading…
Reference in a new issue