aboutsummaryrefslogtreecommitdiffstats
path: root/devel/avr-binutils
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2006-01-05 07:17:26 +0800
committerjoerg <joerg@FreeBSD.org>2006-01-05 07:17:26 +0800
commit9a1fa6dc665759ebcc9e1005cd9719304484b39e (patch)
treec6e394928fec0705aee022e3f93eaf751e0b8265 /devel/avr-binutils
parent1a88dbe746b9e43de5d1f138c0260af3f1ad0e8b (diff)
downloadfreebsd-ports-gnome-9a1fa6dc665759ebcc9e1005cd9719304484b39e.tar.gz
freebsd-ports-gnome-9a1fa6dc665759ebcc9e1005cd9719304484b39e.tar.zst
freebsd-ports-gnome-9a1fa6dc665759ebcc9e1005cd9719304484b39e.zip
Add support for ATtiny261/461/861.
Diffstat (limited to 'devel/avr-binutils')
-rw-r--r--devel/avr-binutils/Makefile2
-rw-r--r--devel/avr-binutils/files/patch-newdevices13
-rw-r--r--devel/avr-binutils/pkg-descr1
3 files changed, 11 insertions, 5 deletions
diff --git a/devel/avr-binutils/Makefile b/devel/avr-binutils/Makefile
index 4a259642c1f5..66d13681e6a5 100644
--- a/devel/avr-binutils/Makefile
+++ b/devel/avr-binutils/Makefile
@@ -7,7 +7,7 @@
PORTNAME= binutils
PORTVERSION= 2.16.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= binutils/releases
diff --git a/devel/avr-binutils/files/patch-newdevices b/devel/avr-binutils/files/patch-newdevices
index 398f14cfe1b6..54932a0580d5 100644
--- a/devel/avr-binutils/files/patch-newdevices
+++ b/devel/avr-binutils/files/patch-newdevices
@@ -1,10 +1,13 @@
diff -ur ../binutils-2.16.1.orig/gas/config/tc-avr.c ./gas/config/tc-avr.c
--- ../binutils-2.16.1.orig/gas/config/tc-avr.c Wed Feb 23 13:28:04 2005
-+++ ./gas/config/tc-avr.c Wed Dec 14 22:35:33 2005
-@@ -88,6 +88,12 @@
++++ ./gas/config/tc-avr.c Wed Jan 4 22:10:33 2006
+@@ -88,6 +88,15 @@
{"at86rf401", AVR_ISA_2xxx, bfd_mach_avr2},
{"attiny13", AVR_ISA_TINY2, bfd_mach_avr2},
{"attiny2313",AVR_ISA_TINY2, bfd_mach_avr2},
++ {"attiny261", AVR_ISA_TINY2, bfd_mach_avr2},
++ {"attiny461", AVR_ISA_TINY2, bfd_mach_avr2},
++ {"attiny861", AVR_ISA_TINY2, bfd_mach_avr2},
+ {"attiny24", AVR_ISA_TINY2, bfd_mach_avr2},
+ {"attiny44", AVR_ISA_TINY2, bfd_mach_avr2},
+ {"attiny84", AVR_ISA_TINY2, bfd_mach_avr2},
@@ -14,7 +17,7 @@ diff -ur ../binutils-2.16.1.orig/gas/config/tc-avr.c ./gas/config/tc-avr.c
{"atmega603", AVR_ISA_M603, bfd_mach_avr3}, /* XXX -> m103 */
{"atmega103", AVR_ISA_M103, bfd_mach_avr3},
{"at43usb320",AVR_ISA_M103, bfd_mach_avr3},
-@@ -100,21 +106,35 @@
+@@ -100,21 +109,35 @@
{"atmega88", AVR_ISA_M8, bfd_mach_avr4},
{"atmega8515",AVR_ISA_M8, bfd_mach_avr4},
{"atmega8535",AVR_ISA_M8, bfd_mach_avr4},
@@ -50,9 +53,10 @@ diff -ur ../binutils-2.16.1.orig/gas/config/tc-avr.c ./gas/config/tc-avr.c
{"at90can128",AVR_ISA_M128, bfd_mach_avr5},
{"at94k", AVR_ISA_94K, bfd_mach_avr5},
{NULL, 0, 0}
+Only in ./gas/config: tc-avr.c.orig
diff -ur ../binutils-2.16.1.orig/include/opcode/avr.h ./include/opcode/avr.h
--- ../binutils-2.16.1.orig/include/opcode/avr.h Thu Mar 3 12:58:09 2005
-+++ ./include/opcode/avr.h Wed Dec 14 22:34:19 2005
++++ ./include/opcode/avr.h Wed Jan 4 22:09:48 2006
@@ -37,6 +37,7 @@
AVR_ISA_SPM | AVR_ISA_BRK)
#define AVR_ISA_M8 (AVR_ISA_2xxx | AVR_ISA_MUL | AVR_ISA_MOVW | \
@@ -61,3 +65,4 @@ diff -ur ../binutils-2.16.1.orig/include/opcode/avr.h ./include/opcode/avr.h
#define AVR_ISA_M603 (AVR_ISA_2xxx | AVR_ISA_MEGA)
#define AVR_ISA_M103 (AVR_ISA_M603 | AVR_ISA_ELPM)
#define AVR_ISA_M161 (AVR_ISA_M603 | AVR_ISA_MUL | AVR_ISA_MOVW | \
+Only in ./include/opcode: avr.h.orig
diff --git a/devel/avr-binutils/pkg-descr b/devel/avr-binutils/pkg-descr
index ddd466bffb2f..2eb951c6eb57 100644
--- a/devel/avr-binutils/pkg-descr
+++ b/devel/avr-binutils/pkg-descr
@@ -12,6 +12,7 @@ following AVR devices has been added by a private patch:
ATtiny24/44/84
ATtiny25/45/85
+ ATtiny261/461/861
AT90PWM2/3
ATmega164/324/644
ATmega329/3290/649/6490