From 3ded57394f6dfd7beb9526c031a5c6c6c9926917 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 25 Aug 2013 22:22:55 -0700 Subject: [PATCH] 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/micropeak/Makefile | 2 ++ src/telescience-pwm/Makefile | 2 ++ src/telescience-v0.1/Makefile | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/micropeak/Makefile b/src/micropeak/Makefile index 315b93f6..44e0b873 100644 --- a/src/micropeak/Makefile +++ b/src/micropeak/Makefile @@ -16,6 +16,8 @@ LOADARG=-p $(DUDECPUTYPE) -c $(PROGRAMMER) -e -U flash:w: CC=avr-gcc OBJCOPY=avr-objcopy +LDFLAGS=-L/usr/lib/ldscripts -Tavr25.x + ifndef VERSION include ../Version endif 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 diff --git a/src/telescience-v0.1/Makefile b/src/telescience-v0.1/Makefile index d24128ef..81054a75 100644 --- a/src/telescience-v0.1/Makefile +++ b/src/telescience-v0.1/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 -- 2.30.2