summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-08-25 22:22:55 -0700
committerKeith Packard <keithp@keithp.com>2013-08-25 22:22:55 -0700
commit3ded57394f6dfd7beb9526c031a5c6c6c9926917 (patch)
treea2a57b85926de47ba381bb5e4a3c5453ed5a3768
parent203951f6e049ec7e95489849a2bfaa01aa19c0c9 (diff)
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 <keithp@keithp.com>
-rw-r--r--src/micropeak/Makefile2
-rw-r--r--src/telescience-pwm/Makefile2
-rw-r--r--src/telescience-v0.1/Makefile2
3 files changed, 6 insertions, 0 deletions
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