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>
This commit is contained in:
parent
bd806effc3
commit
01ac0d93c3
1 changed files with 11 additions and 3 deletions
14
Makefile
14
Makefile
|
@ -96,15 +96,23 @@ dist: DIST=../wasp-os-$(VERSION)
|
||||||
dist: k9
|
dist: k9
|
||||||
k9: p8
|
k9: p8
|
||||||
p8: pinetime
|
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:
|
k9 p8 pinetime:
|
||||||
$(MAKE) BOARD=$@ clean
|
$(RM) wasp/boards/$@/watch.py
|
||||||
$(MAKE) BOARD=$@ all
|
$(MAKE) BOARD=$@ all
|
||||||
dist: docs
|
dist: docs
|
||||||
$(RM) -rf $(DIST)
|
|
||||||
mkdir -p $(DIST)/docs
|
mkdir -p $(DIST)/docs
|
||||||
cp COPYING COPYING.LGPL README.rst $(DIST)
|
cp COPYING COPYING.LGPL README.rst $(DIST)
|
||||||
cp -r docs/build/html/* $(DIST)/docs
|
cp -r docs/build/html/* $(DIST)/docs
|
||||||
cp -r build-pinetime/ build-p8/ build-k9/ $(DIST)
|
cp -r build-*/ $(DIST)
|
||||||
cp -r tools/ $(DIST)
|
cp -r tools/ $(DIST)
|
||||||
(cd $(DIST); ln -s docs/_images/ res)
|
(cd $(DIST); ln -s docs/_images/ res)
|
||||||
find $(DIST) -name __pycache__ | xargs $(RM) -r
|
find $(DIST) -name __pycache__ | xargs $(RM) -r
|
||||||
|
|
Loading…
Reference in a new issue