summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-08-21 20:24:42 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-08-21 20:24:42 (GMT)
commit01ac0d93c30a219e5cd2aa47551d1730fd34c627 (patch)
treed4696006c8f5088b948cf13c3995084f8744efc9 /Makefile
parentbd806effc3ef621a5f76e236a35f5056a6d8e92e (diff)
Makefile: Remove one of the lists of watch models
Takes us down from three to two... getting better! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b4e3a68..508d316 100644
--- a/Makefile
+++ b/Makefile
@@ -96,15 +96,23 @@ dist: DIST=../wasp-os-$(VERSION)
dist: k9
k9: p8
p8: pinetime
+pinetime : mrproper
+mrproper :
+ $(RM) -r \
+ $(DIST) build-* \
+ bootloader/_build-* \
+ reloader/build-* \
+ reloader/src/boards/*/bootloader.h \
+ micropython/mpy-cross/build \
+ micropython/ports/nrf/build-*
k9 p8 pinetime:
- $(MAKE) BOARD=$@ clean
+ $(RM) wasp/boards/$@/watch.py
$(MAKE) BOARD=$@ all
dist: docs
- $(RM) -rf $(DIST)
mkdir -p $(DIST)/docs
cp COPYING COPYING.LGPL README.rst $(DIST)
cp -r docs/build/html/* $(DIST)/docs
- cp -r build-pinetime/ build-p8/ build-k9/ $(DIST)
+ cp -r build-*/ $(DIST)
cp -r tools/ $(DIST)
(cd $(DIST); ln -s docs/_images/ res)
find $(DIST) -name __pycache__ | xargs $(RM) -r