ports/devel/simulavr/files/patch-test_asm
Joerg Wunsch 71bf94a661 Don't use the ancient -m avrr85xx linker `emulation' option, binutils
2.15 doesn't provide it anymore.  Use -m avr2 instead now.

This patch is only required as a stop-gap measure, until the official
sources have fixed that.
2004-06-20 21:18:36 +00:00

23 lines
746 B
Plaintext

--- test_asm/test_8515/Makefile.am.orig Thu Aug 14 04:35:06 2003
+++ test_asm/test_8515/Makefile.am Thu Jun 17 10:22:38 2004
@@ -51,7 +51,7 @@
all-local: $(TEST_ELF) $(TEST_LST) $(TEST_BIN) $(TEST_HEX)
for prg in $(TEST_PRG); do \
- $(AVR_LD) -m avr85xx -o $$prg $${prg}.elf || exit 1; \
+ $(AVR_LD) -m avr2 -o $$prg $${prg}.elf || exit 1; \
done
clean-local:
--- test_asm/test_8515/Makefile.in.orig Mon Jan 19 00:58:31 2004
+++ test_asm/test_8515/Makefile.in Thu Jun 17 10:23:08 2004
@@ -379,7 +379,7 @@
all-local: $(TEST_ELF) $(TEST_LST) $(TEST_BIN) $(TEST_HEX)
for prg in $(TEST_PRG); do \
- $(AVR_LD) -m avr85xx -o $$prg $${prg}.elf || exit 1; \
+ $(AVR_LD) -m avr2 -o $$prg $${prg}.elf || exit 1; \
done
clean-local: