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