From dbc03142020b132f16e87ffca51aca4ec86dedc1 Mon Sep 17 00:00:00 2001 From: razvanm Date: Mon, 30 Nov 2009 20:39:12 +0000 Subject: [PATCH] Use /opt/local/etc/avrdude.conf for svrdude in MacOS. --- support/make/avr/avr.rules | 3 +++ 1 file changed, 3 insertions(+) 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)) -- 2.39.2