Make copy-board target copy all BOARD/.*py files
This commit is contained in:
parent
db2082f1c6
commit
6ab4154ad5
16
Makefile
16
Makefile
@ -125,11 +125,15 @@ copy-kmk:
|
|||||||
echo "**** MOUNTPOINT must be defined (wherever your CIRCUITPY drive is mounted) ****" && exit 1
|
echo "**** MOUNTPOINT must be defined (wherever your CIRCUITPY drive is mounted) ****" && exit 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
copy-board: $(MOUNTPOINT)/kb.py
|
ifdef MOUNTPOINT
|
||||||
$(MOUNTPOINT)/kb.py: $(BOARD)
|
copy-board:
|
||||||
@echo "===> Copying your board to kb.py"
|
@echo "===> Copying your board to $(MOUNTPOINT)"
|
||||||
@rsync -rh $(BOARD) $@
|
@rsync -urh $(BOARD)/*.py $(MOUNTPOINT)/
|
||||||
@sync
|
@sync
|
||||||
|
else
|
||||||
|
copy-board:
|
||||||
|
@echo "**** MOUNTPOINT must be defined (wherever your CIRCUITPY drive is mounted) ****" && exit 1
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef MOUNTPOINT
|
ifdef MOUNTPOINT
|
||||||
$(MOUNTPOINT)/kmk/boot.py: boot.py
|
$(MOUNTPOINT)/kmk/boot.py: boot.py
|
||||||
@ -159,8 +163,4 @@ else
|
|||||||
copy-keymap:
|
copy-keymap:
|
||||||
echo "**** MOUNTPOINT must be defined (wherever your CIRCUITPY drive is mounted) ****" && exit 1
|
echo "**** MOUNTPOINT must be defined (wherever your CIRCUITPY drive is mounted) ****" && exit 1
|
||||||
|
|
||||||
ifdef BOARD
|
|
||||||
copy-board: $(MOUNTPOINT)/kb.py
|
|
||||||
endif # BOARD
|
|
||||||
|
|
||||||
endif # MOUNTPOINT
|
endif # MOUNTPOINT
|
||||||
|
Loading…
Reference in New Issue
Block a user