Rev 223 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 223 | Rev 229 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | PRG = main |
1 | PRG = main |
| 2 | OBJ = main.o |
2 | OBJ = main.o |
| 3 | MCU_TARGET = |
3 | MCU_TARGET = atmega88 |
| 4 | OPTIMIZE = -Os -mcall-prologues |
4 | OPTIMIZE = -Os -mcall-prologues |
| - | 5 | # grep bios.map for __bios_ram_end to retreive this value |
|
| - | 6 | BIOS_RAM_END = 0x008000bd |
|
| - | 7 | # In the future, this should be automatically inserted into *_app.ld at every bios compilation |
|
| 5 | 8 | ||
| 6 | DEFS = -I../AVR-Bios |
9 | DEFS = -I../AVR-Bios |
| 7 | LIBS = |
10 | LIBS = |
| 8 | 11 | ||
| 9 | # You should not have to change anything below here. |
12 | # You should not have to change anything below here. |
| Line 11... | Line 14... | ||
| 11 | CC = avr-gcc |
14 | CC = avr-gcc |
| 12 | 15 | ||
| 13 | # Override is only needed by avr-lib build system. |
16 | # Override is only needed by avr-lib build system. |
| 14 | 17 | ||
| 15 | override CFLAGS = -g -Wall $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS) |
18 | override CFLAGS = -g -Wall $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS) |
| 16 | override LDFLAGS = - |
19 | override LDFLAGS = -v -Wl,-Map,$(PRG).map,-L../AVR-Bios,--defsym,__bios_ram_end=$(BIOS_RAM_END),-T$(MCU_TARGET)_app.ld |
| - | 20 | override ASFLAGS = -x assembler-with-cpp -Wa,-gstabs -mmcu=$(MCU_TARGET) $(DEFS) |
|
| 17 | 21 | ||
| 18 | OBJCOPY = avr-objcopy |
22 | OBJCOPY = avr-objcopy |
| 19 | OBJDUMP = avr-objdump |
23 | OBJDUMP = avr-objdump |
| 20 | SIZE = avr-size |
24 | SIZE = avr-size |
| 21 | SZFLAGS = |
25 | SZFLAGS = |