Rev 232 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 232 | Rev 235 | ||
|---|---|---|---|
| Line 4... | Line 4... | ||
| 4 | OPTIMIZE = -Os -mcall-prologues |
4 | OPTIMIZE = -Os -mcall-prologues |
| 5 | # grep bios.map for __bios_ram_end to retreive this value |
5 | # grep bios.map for __bios_ram_end to retreive this value |
| 6 | # In the future, this should be automatically inserted into *_app.ld at every bios compilation |
6 | # In the future, this should be automatically inserted into *_app.ld at every bios compilation |
| 7 | BIOS_RAM_END = 0x0080015d |
7 | BIOS_RAM_END = 0x0080015d |
| 8 | #uncomment this line if you're using m88, remove line when gcc-bug fixed |
8 | #uncomment this line if you're using m88, remove line when gcc-bug fixed |
| 9 |
|
9 | EXTRA_LD = avr-ld -m avr4 -o $(PRG).elf /usr/avr/lib/avr4/crtm88.o -L/usr/lib/gcc/avr/4.1.0/avr4 -L/usr/lib/gcc/avr/4.1.0/avr4 -L/usr/avr/lib/avr4 -Map $(PRG).map -L../AVR-Bios --defsym __bios_ram_end=$(BIOS_RAM_END) -T$(MCU_TARGET)_app.ld $(PRG).o -lgcc -lc -lgcc |
| 10 | 10 | ||
| 11 | DEFS = -I../AVR-Bios |
11 | DEFS = -I../AVR-Bios |
| 12 | LIBS = |
12 | LIBS = |
| 13 | 13 | ||
| 14 | # You should not have to change anything below here. |
14 | # You should not have to change anything below here. |