Rev 1984 | Rev 2285 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1984 | Rev 1992 | ||
|---|---|---|---|
| Line 270... | Line 270... | ||
| 270 | # AVRs, making it impossible to override the .data placement with a |
270 | # AVRs, making it impossible to override the .data placement with a |
| 271 | # subsequent -Tdata option. Detect the broken case and re-run ld with the |
271 | # subsequent -Tdata option. Detect the broken case and re-run ld with the |
| 272 | # correct .data location substituted. |
272 | # correct .data location substituted. |
| 273 | %.elf: $(OBJ) |
273 | %.elf: $(OBJ) |
| 274 | @echo $(MSG_LINKING) $@ |
274 | @echo $(MSG_LINKING) $@ |
| 275 |
|
275 | @eval $$($(CC) -v $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) 2>&1 | $(AWK) '{ if (gsub("0x800100","$(BIOS_RAM_END)") == 1) print }') |
| 276 | 276 | ||
| 277 | #$(LDLIBS) |
277 | #$(LDLIBS) |
| 278 | 278 | ||
| 279 | # Compile: create object files from C source files. |
279 | # Compile: create object files from C source files. |
| 280 | %.o : %.c |
280 | %.o : %.c |