|
|
1.1 root 1: <build condition="SPARC64">
2:
3: <dictionary name="openbios-sparc64" init="openbios">
4: <object source="tree.fs" target="forth"/>
5: <object source="init.fs" target="forth"/>
6: </dictionary>
7:
8: <library name="sparc64" type="static" target="target">
9: <object source="openbios.c"/>
10: <object source="console.c"/>
11: <object source="lib.c"/>
12: <object source="boot.c"/>
13: <object source="context.c"/>
14: <object source="switch.S"/>
15: <object source="linux_load.c"/>
16: <object source="sys_info.c"/>
17: <object source="ofmem_sparc64.c"/>
18: <object source="entry.S"/>
19: <object source="vectors.S"/>
20: <object source="call-client.S"/>
21: </library>
22:
23: <executable name="openbios-plain.elf" target="target" condition="IMAGE_ELF">
24: <rule>
25: $(call quiet-command,$(LD) --warn-common -T $(SRCDIR)/arch/sparc64/ldscript -o [email protected] --whole-archive $^," LINK $(TARGET_DIR)$@")
26: $(call quiet-command,$(NM) [email protected] | sort > $(ODIR)/openbios-plain.syms," GEN $(TARGET_DIR)[email protected]")
27: $(call quiet-command,$(STRIP) [email protected] -o $@," STRIP $(TARGET_DIR)$@")</rule>
28: <object source="plainboot.c"/>
29: <external-object source="libsparc64.a"/>
30: <external-object source="libbootstrap.a"/>
31: <external-object source="libopenbios.a"/>
32: <external-object source="libpackages.a"/>
33: <external-object source="libdrivers.a"/>
34: <external-object source="libfs.a"/>
35: <external-object source="liblibc.a"/>
36: <external-object source="libgcc.a"/>
37: </executable>
38:
39: <!-- HACK ALERT -->
40:
41: <executable name="target/include/static-dict.h" target="target" condition="IMAGE_ELF_EMBEDDED">
42: <rule><![CDATA[
43: $(call quiet-command,$(ODIR)/forthstrap -x -D $@ -d $< </dev/null, " GEN $(TARGET_DIR)$@")]]></rule>
44: <external-object source="openbios-sparc64.dict"/>
45: </executable>
46:
47: <executable name="target/arch/sparc64/builtin.o" target="target" condition="IMAGE_ELF_EMBEDDED">
48: <rule><![CDATA[ $(SRCDIR)/arch/sparc64/builtin.c $(ODIR)/target/include/static-dict.h
49: $(call quiet-command,$(CC) $$EXTRACFLAGS $(CFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/arch/sparc64/builtin.c, " CC $(TARGET_DIR)$@")]]></rule>
50: </executable>
51:
52: <!-- END OF HACK ALERT -->
53:
54: <executable name="openbios-builtin.elf" target="target" condition="IMAGE_ELF_EMBEDDED">
55: <!-- We use -N to reduce the file size by 1M -->
56: <rule>
57: $(call quiet-command,$(LD) --warn-common -N -T $(SRCDIR)/arch/sparc64/ldscript -o [email protected] --whole-archive $^," LINK $(TARGET_DIR)$@")
58: $(call quiet-command,$(NM) [email protected] | sort > $(ODIR)/openbios-builtin.syms," GEN $(TARGET_DIR)[email protected]")
59: $(call quiet-command,$(STRIP) [email protected] -o $@," STRIP $(TARGET_DIR)$@")</rule>
60: <external-object source="target/arch/sparc64/builtin.o"/>
61: <external-object source="libsparc64.a"/>
62: <external-object source="libbootstrap.a"/>
63: <external-object source="libopenbios.a"/>
64: <external-object source="libpackages.a"/>
65: <external-object source="libdrivers.a"/>
66: <external-object source="libfs.a"/>
67: <external-object source="liblibc.a"/>
68: <external-object source="libgcc.a"/>
69: </executable>
70:
71: </build>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.