From 3ded57394f6dfd7beb9526c031a5c6c6c9926917 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 25 Aug 2013 22:22:55 -0700 Subject: altos: Explicitly list the linker script needed for AVR targets. Something changed in the binutils-avr package which makes the linker fail to find the script in the default location. Signed-off-by: Keith Packard --- src/telescience-pwm/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/telescience-pwm') diff --git a/src/telescience-pwm/Makefile b/src/telescience-pwm/Makefile index 43d77e2e..ce2a8fde 100644 --- a/src/telescience-pwm/Makefile +++ b/src/telescience-pwm/Makefile @@ -14,6 +14,8 @@ LOADARG=-p $(DUDECPUTYPE) -c $(PROGRAMMER) -e -U flash:w: CC=avr-gcc OBJCOPY=avr-objcopy +LDFLAGS=-L/usr/lib/ldscripts -Tavr5.x + ifndef VERSION include ../Version endif -- cgit v1.2.3