]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
fix for cygwin/avrdude to work with ports above com9
authorsallai <sallai>
Mon, 26 Jan 2009 19:40:38 +0000 (19:40 +0000)
committersallai <sallai>
Mon, 26 Jan 2009 19:40:38 +0000 (19:40 +0000)
support/make/avr/mib510.extra

index 974b0e26cc521ad248c375b7adf0ba58be9acfa2..28b79f72988558576f986a7c57297f8531392afb 100644 (file)
@@ -5,6 +5,10 @@ ifeq ($(MIB510),)
 $(error MIB510 must be defined, try "make $(TARGETS) help")
 endif
 
+ifeq ($(shell [ -f /bin/cygwin1.dll ] && echo cygwin),cygwin)
+  MIB510 := '\\.\$(MIB510)'
+endif
+
 PROGRAM = mib510
 
 ifeq ($(PROGRAMMER),avrdude)