From: razvanm Date: Mon, 30 Nov 2009 20:39:12 +0000 (+0000) Subject: Use /opt/local/etc/avrdude.conf for svrdude in MacOS. X-Git-Tag: rc_6_tinyos_2_1_1~121 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=dbc03142020b132f16e87ffca51aca4ec86dedc1 Use /opt/local/etc/avrdude.conf for svrdude in MacOS. --- diff --git a/support/make/avr/avr.rules b/support/make/avr/avr.rules index 5cdd492d..c45ed747 100644 --- a/support/make/avr/avr.rules +++ b/support/make/avr/avr.rules @@ -68,6 +68,9 @@ else endif ifeq ($(PROGRAMMER),avrdude) + ifeq ($(findstring darwin, $(OSTYPE)), darwin) + AVRDUDE_CONF ?= /opt/local/etc/avrdude.conf + endif AVRDUDE_CONF ?= /etc/avrdude/avrdude.conf ifeq ($(shell [ -f /bin/cygwin1.dll ] && echo cygwin),cygwin) AVRDUDE_CONF := $(shell cygpath -m $(AVRDUDE_CONF))