aboutsummaryrefslogtreecommitdiffstats
path: root/devel/avr-gcc
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2006-04-21 04:32:32 +0800
committerjoerg <joerg@FreeBSD.org>2006-04-21 04:32:32 +0800
commit46502ce6a8a8462aa2d0dc1783b12f25a4c25df4 (patch)
tree39dd835ee0640baa664e2a1bad8f564b458a1cb8 /devel/avr-gcc
parenta21d2fb3446ec8368612255b21354ad6d2f19463 (diff)
downloadfreebsd-ports-gnome-46502ce6a8a8462aa2d0dc1783b12f25a4c25df4.tar.gz
freebsd-ports-gnome-46502ce6a8a8462aa2d0dc1783b12f25a4c25df4.tar.zst
freebsd-ports-gnome-46502ce6a8a8462aa2d0dc1783b12f25a4c25df4.zip
Fix the link specification in the patch so ATmega*P devices will get
their correct -Tdata option passed down. Submitted by: Anatoly Sokolov
Diffstat (limited to 'devel/avr-gcc')
-rw-r--r--devel/avr-gcc/Makefile2
-rw-r--r--devel/avr-gcc/files/patch-newdevices2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/avr-gcc/Makefile b/devel/avr-gcc/Makefile
index 3b1acd87cd56..a3f0908eeccd 100644
--- a/devel/avr-gcc/Makefile
+++ b/devel/avr-gcc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gcc
PORTVERSION= 3.4.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITES+= http://people.freebsd.org/~joerg/:local
diff --git a/devel/avr-gcc/files/patch-newdevices b/devel/avr-gcc/files/patch-newdevices
index 30f86a8a2bd4..6a3954d0f273 100644
--- a/devel/avr-gcc/files/patch-newdevices
+++ b/devel/avr-gcc/files/patch-newdevices
@@ -88,7 +88,7 @@ diff -ur ../gcc-3.4.6.orig/gcc/config/avr/avr.h ./gcc/config/avr/avr.h
-%{mmcu=atmega64|mmcu=atmega128|mmcu=atmega162|mmcu=atmega169: -Tdata 0x800100} "
+%{mmcu=atmega8*|mmcu=atmega48|mmcu=at90pwm*:-m avr4}\
+%{mmcu=atmega16*|mmcu=atmega32*|mmcu=atmega406|mmcu=atmega64*|mmcu=atmega128*|mmcu=at90can*|mmcu=at90usb*|mmcu=at94k:-m avr5}\
-+%{mmcu=atmega324|mmcu=atmega325|mmcu=atmega3250|mmcu=atmega329|mmcu=atmega3290|mmcu=atmega406|mmcu=atmega48|mmcu=atmega88|mmcu=atmega64|mmcu=atmega644|mmcu=atmega645|mmcu=atmega6450|mmcu=atmega649|mmcu=atmega6490|mmcu=atmega128|mmcu=at90can*|mmcu=atmega162|mmcu=atmega164|mmcu=atmega165|mmcu=atmega168|mmcu=atmega169|mmcu=at90pwm*|mmcu=at90usb*: -Tdata 0x800100}\
++%{mmcu=atmega324*|mmcu=atmega325|mmcu=atmega3250|mmcu=atmega329|mmcu=atmega3290|mmcu=atmega406|mmcu=atmega48|mmcu=atmega88|mmcu=atmega64|mmcu=atmega644*|mmcu=atmega645|mmcu=atmega6450|mmcu=atmega649|mmcu=atmega6490|mmcu=atmega128|mmcu=at90can*|mmcu=atmega162|mmcu=atmega164*|mmcu=atmega165*|mmcu=atmega168|mmcu=atmega169*|mmcu=at90pwm*|mmcu=at90usb*: -Tdata 0x800100}\
+%{mmcu=atmega640|mmcu=atmega1280|mmcu=atmega1281: -Tdata 0x800200} "
/* A C string constant that tells the GCC driver program options to