From ef5d805c51dd885bc69cc6f8d2deede75f28cd76 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Thu, 30 Jan 2020 21:45:35 +0000 Subject: [PATCH] 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. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index dba736b..70f65a3 100644 --- a/Makefile +++ b/Makefile @@ -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