From e0749c147eabd317cb1496f0cf9257dd68bc681e Mon Sep 17 00:00:00 2001 From: Jonathan Creekmore Date: Wed, 29 Jan 2014 20:31:29 -0600 Subject: [PATCH] Support looking up the AVR_ROOT in /usr/local/avr --- Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index 72c4c06..dbafa0b 100644 --- a/Makefile.common +++ b/Makefile.common @@ -55,7 +55,7 @@ IPATH += /opt/local/include LFLAGS = -L/opt/local/lib/ endif else -LINUX_AVR_ROOTS := /usr/lib/avr /usr/avr /opt/cross/avr/avr +LINUX_AVR_ROOTS := /usr/lib/avr /usr/avr /opt/cross/avr/avr /usr/local/avr AVR_ROOT := $(firstword $(wildcard $(LINUX_AVR_ROOTS))) ifeq (${AVR_ROOT},) $(error No avr-libc root directory found. Tried the following paths: $(LINUX_AVR_ROOTS)) -- 2.39.5