diff --git a/Common.mk b/Common.mk index 501f582..fd775e7 100644 --- a/Common.mk +++ b/Common.mk @@ -57,8 +57,8 @@ else endif ifeq ($(UNAME_S),Darwin) CURRENT_OS = MAC - ifeq (, $(shell which ggrep)) - echo $(info Using macOS BSD grep, please install GNU grep to avoid warnings) + ifeq (, $(shell which gggrep)) + $(info Using macOS BSD grep, please install GNU grep to avoid warnings) GREP_CMD = grep else GREP_CMD = ggrep diff --git a/README.md b/README.md index 68a4ae3..fae6d24 100644 --- a/README.md +++ b/README.md @@ -298,7 +298,7 @@ The makefile can autodetect the libraries that are included from your sketch and ## avrdude -To upload compiled files, `avrdude` is used. This Makefile tries to find `avrdude` and it's config (`avrdude.conf`) below `ARDUINO_DIR`. If you like to use the one installed on your system instead of the one which came with Arduino, you can try to set the variables `AVRDUDE` and `AVRDUDE_CONF`. On a typical Linux system these could be set to +To upload compiled files, `avrdude` is used. This Makefile tries to find `avrdude` and its config (`avrdude.conf`) below `ARDUINO_DIR`. If you like to use the one installed on your system instead of the one which came with Arduino, you can try to set the variables `AVRDUDE` and `AVRDUDE_CONF`. On a typical Linux system these could be set to ```make AVRDUDE = /usr/bin/avrdude