From 33f599bdb87e0604d2e3905b835c5f23b5e3b877 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 28 Nov 2018 18:11:29 +0100 Subject: added supported for arduino crypot lib --- contrib/Makefile | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/Makefile b/contrib/Makefile index 9d606bb..eb86305 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -28,8 +28,8 @@ PJON_VERSION := 3.0 VUSB_VERSION := 20121206 RADIOHEAD_VERSION := 1.89 -all: download-lufa download-fastled download-pjon download-vusb download-radiohead update-teensy-loader update-micronucleus - +all: download-lufa download-fastled download-pjon download-vusb download-radiohead clone-crypto clone-teensy-loader clone-micronucleus +update-all: update-crypto update-teensy-loader update-micronucleus download-lufa: LUFA-${LUFA_VERSION}.zip @@ -68,10 +68,22 @@ RadioHead-${RADIOHEAD_VERSION}.zip: cd RadioHead; patch -p1 < ../radiohead.patch +.crypto.prepared: + git clone https://github.com/rweather/arduinolibs.git crypto + touch $@ + +clone-crypto: .crypto.prepared + +update-crypto: .crypto.prepared + cd crypto; git pull + + .teensy-loader.prepared: git clone https://github.com/PaulStoffregen/teensy_loader_cli.git touch $@ +clone-teensy-loader: .teensy-loader.prepared + update-teensy-loader: .teensy-loader.prepared cd teensy_loader_cli; git pull; make @@ -80,5 +92,7 @@ update-teensy-loader: .teensy-loader.prepared git clone https://github.com/micronucleus/micronucleus/ touch $@ +clone-micronucleus: .micronucleus.prepared + update-micronucleus: .micronucleus.prepared cd micronucleus/commandline; git pull; make -- cgit v1.2.3