summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-01-30 21:45:35 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-01-30 21:45:35 (GMT)
commitef5d805c51dd885bc69cc6f8d2deede75f28cd76 (patch)
tree8b168afbdaff64ec61eeef08c7b416b974cc6988 /Makefile
parentd3d98c8ffb1feded5b77c34f67aa1f2b4ae19a2e (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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