summaryrefslogtreecommitdiff
path: root/contrib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/Makefile')
-rw-r--r--contrib/Makefile15
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 $@
-