From: Jonathan Creekmore Date: Thu, 30 Jan 2014 02:31:29 +0000 (-0600) Subject: Support looking up the AVR_ROOT in /usr/local/avr X-Git-Tag: v1.2~9^2~3 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=e0749c147eabd317cb1496f0cf9257dd68bc681e;p=sx%2Fsimavr.git Support looking up the AVR_ROOT in /usr/local/avr --- 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))