From 39b22ee0a41b2ccd31d0e139557ee9d0a52fd37c Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Thu, 20 Apr 2006 20:32:32 +0000 Subject: Fix the link specification in the patch so ATmega*P devices will get their correct -Tdata option passed down. Submitted by: Anatoly Sokolov --- devel/avr-gcc-devel/Makefile | 2 +- devel/avr-gcc-devel/files/patch-newdevices | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'devel/avr-gcc-devel') diff --git a/devel/avr-gcc-devel/Makefile b/devel/avr-gcc-devel/Makefile index 8c8599d27e50..35661db96bf7 100644 --- a/devel/avr-gcc-devel/Makefile +++ b/devel/avr-gcc-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= gcc PORTVERSION= 4.1.0 -PORTREVISION= 4 +PORTREVISION= 5 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 8cc6cb00a2a1..380b28108e73 100644 --- a/devel/avr-gcc-devel/files/patch-newdevices +++ b/devel/avr-gcc-devel/files/patch-newdevices @@ -82,7 +82,7 @@ diff -ur ../gcc-4.1.0.orig/gcc/config/avr/avr.h ./gcc/config/avr/avr.h -%{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=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} " #define LIB_SPEC \ -- cgit v1.2.3