aboutsummaryrefslogtreecommitdiff
path: root/devel/avr-binutils
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2007-04-07 05:34:57 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2007-04-07 05:34:57 +0000
commit663cb32ca1ae42720dd8020baab873daa2215b9d (patch)
treeab05024a33e8b558ba39504ebedfcb8ff0617276 /devel/avr-binutils
parent988af3dcf36aa671762b37b4d57829fb94b89d6a (diff)
downloadports-663cb32ca1ae42720dd8020baab873daa2215b9d.tar.gz
ports-663cb32ca1ae42720dd8020baab873daa2215b9d.zip
Add AT90PWM1, AT90USB82/162, and ATmega32[59]0?p devices.
Notes
Notes: svn path=/head/; revision=189411
Diffstat (limited to 'devel/avr-binutils')
-rw-r--r--devel/avr-binutils/Makefile2
-rw-r--r--devel/avr-binutils/files/patch-newdevices34
-rw-r--r--devel/avr-binutils/pkg-descr3
3 files changed, 29 insertions, 10 deletions
diff --git a/devel/avr-binutils/Makefile b/devel/avr-binutils/Makefile
index 150a2b393372..f6f1ef7ec756 100644
--- a/devel/avr-binutils/Makefile
+++ b/devel/avr-binutils/Makefile
@@ -7,7 +7,7 @@
PORTNAME= binutils
PORTVERSION= 2.17
-PORTREVISION= 3
+PORTREVISION= 4
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 399b45c9e738..d45bd91e42ad 100644
--- a/devel/avr-binutils/files/patch-newdevices
+++ b/devel/avr-binutils/files/patch-newdevices
@@ -1,11 +1,14 @@
-Index: gas/config/tc-avr.c
-===================================================================
-RCS file: /cvs/src/src/gas/config/tc-avr.c,v
-retrieving revision 1.34
-diff -u -r1.34 tc-avr.c
---- gas/config/tc-avr.c 7 Jun 2006 11:27:57 -0000 1.34
-+++ gas/config/tc-avr.c 18 Jun 2006 09:18:52 -0000
-@@ -115,13 +115,15 @@
+--- gas/config/tc-avr.c.orig Fri Apr 6 23:27:21 2007
++++ gas/config/tc-avr.c Fri Apr 6 23:31:21 2007
+@@ -111,27 +111,36 @@
+ {"atmega88", AVR_ISA_PWMx, bfd_mach_avr4},
+ {"atmega8515", AVR_ISA_M8, bfd_mach_avr4},
+ {"atmega8535", AVR_ISA_M8, bfd_mach_avr4},
++ {"at90pwm1", AVR_ISA_PWMx, bfd_mach_avr4},
+ {"at90pwm2", AVR_ISA_PWMx, bfd_mach_avr4},
+ {"at90pwm3", AVR_ISA_PWMx, bfd_mach_avr4},
++ {"at90usb82", AVR_ISA_PWMx, bfd_mach_avr4},
+ {"atmega16", AVR_ISA_M323, bfd_mach_avr5},
{"atmega161", AVR_ISA_M161, bfd_mach_avr5},
{"atmega162", AVR_ISA_M323, bfd_mach_avr5},
{"atmega163", AVR_ISA_M161, bfd_mach_avr5},
@@ -21,9 +24,14 @@ diff -u -r1.34 tc-avr.c
- {"atmega324", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega324p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega325", AVR_ISA_M323, bfd_mach_avr5},
++ {"atmega325p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega329", AVR_ISA_M323, bfd_mach_avr5},
++ {"atmega329p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega3250", AVR_ISA_M323, bfd_mach_avr5},
-@@ -130,6 +132,7 @@
++ {"atmega3250p",AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega3290", AVR_ISA_M323, bfd_mach_avr5},
++ {"atmega3290p",AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega406", AVR_ISA_M323, bfd_mach_avr5},
{"atmega64", AVR_ISA_M323, bfd_mach_avr5},
{"atmega640", AVR_ISA_M323, bfd_mach_avr5},
{"atmega644", AVR_ISA_M323, bfd_mach_avr5},
@@ -31,3 +39,11 @@ diff -u -r1.34 tc-avr.c
{"atmega128", AVR_ISA_M128, bfd_mach_avr5},
{"atmega1280", AVR_ISA_M128, bfd_mach_avr5},
{"atmega1281", AVR_ISA_M128, bfd_mach_avr5},
+@@ -142,6 +151,7 @@
+ {"at90can32" , AVR_ISA_M323, bfd_mach_avr5},
+ {"at90can64" , AVR_ISA_M323, bfd_mach_avr5},
+ {"at90can128", AVR_ISA_M128, bfd_mach_avr5},
++ {"at90usb162", AVR_ISA_M323, bfd_mach_avr5},
+ {"at90usb646", AVR_ISA_M323, bfd_mach_avr5},
+ {"at90usb647", AVR_ISA_M323, bfd_mach_avr5},
+ {"at90usb1286",AVR_ISA_M128, bfd_mach_avr5},
diff --git a/devel/avr-binutils/pkg-descr b/devel/avr-binutils/pkg-descr
index a154ed4c52ef..baa39044d57e 100644
--- a/devel/avr-binutils/pkg-descr
+++ b/devel/avr-binutils/pkg-descr
@@ -10,6 +10,9 @@ http://www.sax.de/~joerg/README.coff-avr-patch
In addition to the stock binutils-2.17 distribution, support for the
following AVR devices has been added by a private patch:
+ AT90PWM1
+ AT90USB82/162
ATmega164P/324P/644P
ATmega165P/169P
+ ATmega325P/3250P/329P/3290P
ATmega2560/2561