From: sallai Date: Mon, 26 Jan 2009 19:40:38 +0000 (+0000) Subject: fix for cygwin/avrdude to work with ports above com9 X-Git-Tag: rc_6_tinyos_2_1_1~517 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=840f251bc8da9a60b4274b235f082d16194dfe52 fix for cygwin/avrdude to work with ports above com9 --- diff --git a/support/make/avr/mib510.extra b/support/make/avr/mib510.extra index 974b0e26..28b79f72 100644 --- a/support/make/avr/mib510.extra +++ b/support/make/avr/mib510.extra @@ -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)