annotate target-utils/compalstage/Makefile @ 314:48c08499cede

compalstage binaries built
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 02 Apr 2014 08:02:14 +0000
parents
children 3164604a6c70
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
314
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= arm-elf-gcc
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 OBJCOPY=arm-elf-objcopy
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 all: compalstage-plain.bin compalstage-thumb.bin compalstage-1003.bin
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 .SUFFIXES: .o .bin
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 .o.bin:
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 ${OBJCOPY} -O binary $< $@
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 compalstage-1003.o: compalstage.S
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 ${CC} -DPAD_TO_1003 -c -o $@ $<
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 compalstage-plain.o: compalstage.S
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 ${CC} -c -o $@ $<
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 compalstage-thumb.o: compalstage.S
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 ${CC} -DTHUMB_ENTRY -c -o $@ $<
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 clean:
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 rm -f *.o *errs *core *.bin
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22
48c08499cede compalstage binaries built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 FRC: