diff options
author | Christian Pointner <equinox@mur.at> | 2015-02-24 23:46:38 +0100 |
---|---|---|
committer | Christian Pointner <equinox@mur.at> | 2015-02-24 23:46:38 +0100 |
commit | fa231e9696af24cb1b76a58ea1724129a00a4984 (patch) | |
tree | 8f65e65193daa4f1256092e4bd7356cb82fad124 /contrib/Makefile | |
parent | hhd70: added internal functions for bulk read and write (diff) |
using external avr-utils now
Diffstat (limited to 'contrib/Makefile')
-rw-r--r-- | contrib/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/contrib/Makefile b/contrib/Makefile index 12cce9b..a0593ea 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -21,18 +21,18 @@ ## along with spreadspace avr utils. If not, see <http://www.gnu.org/licenses/>. ## -LUFA_VERSION := 120219 CHIBIOS_VERSION := 2.6.6 -all: download-lufa download-chibios +all: update-spreadavr download-chibios +.spreadavr.prepared: + git clone git://git.spreadspace.org/avr-utils.git + touch $@ -download-lufa: LUFA-${LUFA_VERSION}.zip - -LUFA-${LUFA_VERSION}.zip: - wget "http://lufa-lib.googlecode.com/files/$@" -O "$@" - unzip $@ +update-spreadavr: .spreadavr.prepared + cd avr-utils/; git pull + $(MAKE) -C avr-utils/contrib/ download-chibios: ChibiOS_${CHIBIOS_VERSION}.zip @@ -40,4 +40,3 @@ download-chibios: ChibiOS_${CHIBIOS_VERSION}.zip ChibiOS_${CHIBIOS_VERSION}.zip: wget "http://downloads.sourceforge.net/project/chibios/ChibiOS_RT%20stable/Version%20${CHIBIOS_VERSION}/$@" -O "$@" unzip $@ - |