altos: Explicitly list the linker script needed for AVR targets.
authorKeith Packard <keithp@keithp.com>
Mon, 26 Aug 2013 05:22:55 +0000 (22:22 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 26 Aug 2013 05:22:55 +0000 (22:22 -0700)
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>
src/micropeak/Makefile
src/telescience-pwm/Makefile
src/telescience-v0.1/Makefile

index 315b93f6f91df9e6037c49cf0712240bb41b08a5..44e0b873a14c76acb50af5597949f1e2ba2d8155 100644 (file)
@@ -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
index 43d77e2e3052c1f5de11c2934ae6971defcc0b6a..ce2a8fde70f957a168e6d3909c1880ba5c6bd563 100644 (file)
@@ -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
index d24128ef53a2161e51e85b659126038045ae8e75..81054a7531ffc7d20c3ae7a45603cd7406e419d9 100644 (file)
@@ -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