aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2006-03-24 04:09:51 +0800
committerjoerg <joerg@FreeBSD.org>2006-03-24 04:09:51 +0800
commitb1fb394fd506fb268e9c2e03bbe2b49e892fa715 (patch)
treec247ce7c0735a69eb1f758b8b81d16cd8655065f /devel
parentb8a2b6ae50f6dab36ff2eb8917c0da75e1da334d (diff)
downloadfreebsd-ports-graphics-b1fb394fd506fb268e9c2e03bbe2b49e892fa715.tar.gz
freebsd-ports-graphics-b1fb394fd506fb268e9c2e03bbe2b49e892fa715.tar.zst
freebsd-ports-graphics-b1fb394fd506fb268e9c2e03bbe2b49e892fa715.zip
Fix linker instructions for ATmega1280/ATmega1281 target MCUs.
Diffstat (limited to 'devel')
-rw-r--r--devel/avr-gcc-devel/Makefile1
-rw-r--r--devel/avr-gcc-devel/files/patch-newdevices2
2 files changed, 2 insertions, 1 deletions
diff --git a/devel/avr-gcc-devel/Makefile b/devel/avr-gcc-devel/Makefile
index 4af33f41d86..35ef60d3db7 100644
--- a/devel/avr-gcc-devel/Makefile
+++ b/devel/avr-gcc-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gcc
PORTVERSION= 4.1.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITES+= http://people.freebsd.org/~joerg/:local
diff --git a/devel/avr-gcc-devel/files/patch-newdevices b/devel/avr-gcc-devel/files/patch-newdevices
index b03b8d1e603..b35116312a5 100644
--- a/devel/avr-gcc-devel/files/patch-newdevices
+++ b/devel/avr-gcc-devel/files/patch-newdevices
@@ -77,7 +77,7 @@ diff -ur ../gcc-4.1.0.orig/gcc/config/avr/avr.h ./gcc/config/avr/avr.h
-%{mmcu=atmega16*|mmcu=atmega32*|mmcu=atmega64*|mmcu=atmega128|mmcu=at90can128|mmcu=at94k:-m avr5}\
-%{mmcu=atmega325|mmcu=atmega3250|mmcu=atmega48|mmcu=atmega88|mmcu=atmega64|mmcu=atmega645|mmcu=atmega6450|mmcu=atmega128|mmcu=at90can128|mmcu=at90can128|mmcu=atmega162|mmcu=atmega165|mmcu=atmega168|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=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=atmega640|mmcu=atmega1280|mmcu=atmega1281: -Tdata 0x800200} "