From 194def0993848f6d40044d3cc3521025a22a6396 Mon Sep 17 00:00:00 2001 From: razvanm Date: Wed, 2 Dec 2009 17:48:21 +0000 Subject: [PATCH] Use $(shell uname) instead of $(OSTYPE) to detect the MacOS. --- support/make/avr/avr.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/make/avr/avr.rules b/support/make/avr/avr.rules index c45ed747..a8c5d025 100644 --- a/support/make/avr/avr.rules +++ b/support/make/avr/avr.rules @@ -68,7 +68,7 @@ else endif ifeq ($(PROGRAMMER),avrdude) - ifeq ($(findstring darwin, $(OSTYPE)), darwin) + ifeq ($(findstring Darwin, $(shell uname)), Darwin) AVRDUDE_CONF ?= /opt/local/etc/avrdude.conf endif AVRDUDE_CONF ?= /etc/avrdude/avrdude.conf -- 2.39.2