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