Last change
on this file since 610 was
248,
checked in by meunier, 12 years ago
|
Updates in the soft_filter application (bug corrections, formatting, and adaptation to the architecture generic_mmu)
|
File size:
883 bytes
|
Line | |
---|
1 | |
---|
2 | LD = mipsel-unknown-elf-ld |
---|
3 | CC = mipsel-unknown-elf-gcc |
---|
4 | AS = mipsel-unknown-elf-as |
---|
5 | DU = mipsel-unknown-elf-objdump |
---|
6 | |
---|
7 | OBJS = reset.o \ |
---|
8 | giet.o \ |
---|
9 | isr.o \ |
---|
10 | drivers.o \ |
---|
11 | stdio.o \ |
---|
12 | main.o |
---|
13 | |
---|
14 | CFLAGS = -Wall -g -mno-gpopt -ffreestanding -fomit-frame-pointer -mips32 -ggdb |
---|
15 | |
---|
16 | GIET = ../giet_tsar |
---|
17 | |
---|
18 | bin.soft: $(OBJS) ldscript |
---|
19 | $(LD) -o $@ -T ldscript $(OBJS) |
---|
20 | $(DU) -D $@ > $@.txt |
---|
21 | |
---|
22 | reset.o: $(GIET)/reset.s |
---|
23 | $(AS) -g -mips32 -o $@ $< |
---|
24 | $(DU) -D $@ > $@.txt |
---|
25 | |
---|
26 | giet.o: $(GIET)/giet.s |
---|
27 | $(AS) -g -mips32 -o $@ $< |
---|
28 | $(DU) -D $@ > $@.txt |
---|
29 | |
---|
30 | isr.o: $(GIET)/isr.c |
---|
31 | $(CC) $(CFLAGS) -c -o $@ $< |
---|
32 | $(DU) -D $@ > $@.txt |
---|
33 | |
---|
34 | stdio.o: $(GIET)/stdio.c |
---|
35 | $(CC) $(CFLAGS) -c -o $@ $< |
---|
36 | $(DU) -D $@ > $@.txt |
---|
37 | |
---|
38 | drivers.o: $(GIET)/drivers.c |
---|
39 | $(CC) $(CFLAGS) -c -o $@ $< |
---|
40 | $(DU) -D $@ > $@.txt |
---|
41 | |
---|
42 | main.o: main.c |
---|
43 | $(CC) $(CFLAGS) -I$(GIET) -c -o $@ $< |
---|
44 | $(DU) -D $@ > $@.txt |
---|
45 | |
---|
46 | clean: |
---|
47 | rm -f *.o bin.soft *.txt core *~ proc* term* temp |
---|
Note: See
TracBrowser
for help on using the repository browser.