From: sallai Date: Wed, 4 Feb 2009 19:38:30 +0000 (+0000) Subject: avrdude/cygwin fix for com ports above com9 X-Git-Tag: rc_6_tinyos_2_1_1~506 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=cb31a900805c279193efd6db71bece74e91e40f8 avrdude/cygwin fix for com ports above com9 --- diff --git a/support/make/avr/mib510.extra b/support/make/avr/mib510.extra index 28b79f72..a7c9376b 100644 --- a/support/make/avr/mib510.extra +++ b/support/make/avr/mib510.extra @@ -5,13 +5,12 @@ 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) + ifeq ($(shell [ -f /bin/cygwin1.dll ] && echo cygwin),cygwin) + MIB510 := '\\.\$(MIB510)' + endif ifdef BOOTLOADER_IMG ifeq ($(shell [ -f /bin/cygwin1.dll ] && echo cygwin),cygwin) BOOTLOADER_IMG := $(shell cygpath -m $(BOOTLOADER_IMG))