|
|
1.1 ! root 1: <?xml version="1.0"?> ! 2: <build condition="PPC"> ! 3: ! 4: <dictionary name="openbios-briq" init="openbios" target="forth" condition="BRIQ"> ! 5: <object source="ppc.fs"/> ! 6: <object source="briq/tree.fs"/> ! 7: <object source="briq/briq.fs"/> ! 8: </dictionary> ! 9: ! 10: <dictionary name="openbios-pearpc" init="openbios" target="forth" condition="PEARPC"> ! 11: <object source="ppc.fs"/> ! 12: <object source="pearpc/tree.fs"/> ! 13: <object source="pearpc/pearpc.fs"/> ! 14: </dictionary> ! 15: ! 16: <dictionary name="openbios-qemu" init="openbios" target="forth" condition="QEMU"> ! 17: <object source="ppc.fs"/> ! 18: <object source="qemu/tree.fs"/> ! 19: <object source="qemu/qemu.fs"/> ! 20: </dictionary> ! 21: ! 22: <dictionary name="openbios-mol" init="openbios" target="forth" condition="MOL"> ! 23: <object source="ppc.fs"/> ! 24: <object source="mol/tree.fs"/> ! 25: <object source="mol/mol.fs"/> ! 26: </dictionary> ! 27: ! 28: <!-- HACK ALERT --> ! 29: ! 30: <executable name="target/include/briq-dict.h" target="target" condition="BRIQ"> ! 31: <rule><![CDATA[ ! 32: $(call quiet-command,true, " GEN $(TARGET_DIR)$@") ! 33: @echo "static const char forth_dictionary[] = {" > $@ ! 34: @cat $< | hexdump -ve '1/0 "\t" 8/1 "0x%02x, " 1/0 "\n"' \ ! 35: | sed 's/0x ,//g' >> $@ ! 36: @echo "};" >> $@]]></rule> ! 37: <external-object source="openbios-briq.dict"/> ! 38: </executable> ! 39: ! 40: <executable name="target/arch/ppc/briq/kernel.o" target="target" condition="BRIQ"> ! 41: <rule><![CDATA[ $(SRCDIR)/arch/ppc/briq/kernel.c $(ODIR)/target/include/static-dict.h ! 42: $(call quiet-command,$(CC) $$EXTRACFLAGS $(CFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/arch/ppc/briq/kernel.c, " CC $(TARGET_DIR)$@")]]></rule> ! 43: </executable> ! 44: ! 45: ! 46: <executable name="target/include/pearpc-dict.h" target="target" condition="PEARPC"> ! 47: <rule><![CDATA[ ! 48: $(call quiet-command,true, " GEN $(TARGET_DIR)$@") ! 49: @echo "static const char forth_dictionary[] = {" > $@ ! 50: @cat $< | hexdump -ve '1/0 "\t" 8/1 "0x%02x, " 1/0 "\n"' \ ! 51: | sed 's/0x ,//g' >> $@ ! 52: @echo "};" >> $@]]></rule> ! 53: <external-object source="openbios-pearpc.dict"/> ! 54: </executable> ! 55: ! 56: <executable name="target/arch/ppc/pearpc/kernel.o" target="target" condition="PEARPC"> ! 57: <rule><![CDATA[ $(SRCDIR)/arch/ppc/pearpc/kernel.c $(ODIR)/target/include/pearpc-dict.h ! 58: $(call quiet-command,$(CC) $$EXTRACFLAGS $(CFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/arch/ppc/pearpc/kernel.c, " CC $(TARGET_DIR)$@")]]></rule> ! 59: </executable> ! 60: ! 61: <executable name="target/include/qemu-dict.h" target="target" condition="QEMU"> ! 62: <rule><![CDATA[ ! 63: $(call quiet-command,$(ODIR)/forthstrap -x -D $@ -d $< </dev/null, " GEN $(TARGET_DIR)$@")]]></rule> ! 64: <external-object source="openbios-qemu.dict"/> ! 65: </executable> ! 66: ! 67: <executable name="target/arch/ppc/qemu/kernel.o" target="target" condition="QEMU"> ! 68: <rule><![CDATA[ $(SRCDIR)/arch/ppc/qemu/kernel.c $(ODIR)/target/include/qemu-dict.h ! 69: $(call quiet-command,$(CC) $$EXTRACFLAGS $(CFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/arch/ppc/qemu/kernel.c, " CC $(TARGET_DIR)$@")]]></rule> ! 70: </executable> ! 71: ! 72: ! 73: <executable name="target/include/mol-dict.h" target="target" condition="MOL"> ! 74: <rule><![CDATA[ ! 75: $(call quiet-command,true, " GEN $(TARGET_DIR)$@") ! 76: @echo "static const char forth_dictionary[] = {" > $@ ! 77: @cat $< | hexdump -ve '1/0 "\t" 8/1 "0x%02x, " 1/0 "\n"' \ ! 78: | sed 's/0x ,//g' >> $@ ! 79: @echo "};" >> $@]]></rule> ! 80: <external-object source="openbios-mol.dict"/> ! 81: </executable> ! 82: ! 83: <executable name="target/arch/ppc/mol/kernel.o" target="target" condition="MOL"> ! 84: <rule><![CDATA[ ! 85: $(call quiet-command,$(CC) $$EXTRACFLAGS $(CFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/arch/ppc/mol/kernel.c, " CC $(TARGET_DIR)$@")]]></rule> ! 86: </executable> ! 87: ! 88: <!-- END OF HACK ALERT --> ! 89: ! 90: <library name="briq" target="target" type="static" condition="BRIQ"> ! 91: <object source="misc.S"/> ! 92: <object source="ofmem.c"/> ! 93: <object source="briq/briq.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 94: <object source="briq/init.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 95: <external-object source="target/arch/ppc/briq/kernel.o"/> ! 96: <object source="briq/main.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 97: <object source="briq/methods.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 98: <object source="briq/tree.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 99: <object source="briq/vfd.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 100: </library> ! 101: ! 102: <library name="pearpc" target="target" type="static" condition="PEARPC"> ! 103: <object source="misc.S"/> ! 104: <object source="ofmem.c"/> ! 105: <object source="pearpc/pearpc.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 106: <object source="pearpc/init.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 107: <external-object source="target/arch/ppc/pearpc/kernel.o"/> ! 108: <object source="pearpc/main.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 109: <object source="pearpc/methods.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 110: <object source="pearpc/tree.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 111: <object source="pearpc/vfd.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 112: <!-- taken from mol: generalize --> ! 113: <object source="pearpc/console.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 114: </library> ! 115: ! 116: <library name="qemu" target="target" type="static" condition="QEMU"> ! 117: <object source="qemu/ofmem.c"/> ! 118: <object source="qemu/qemu.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 119: <object source="qemu/init.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 120: <external-object source="target/arch/ppc/qemu/kernel.o"/> ! 121: <object source="qemu/main.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 122: <object source="qemu/methods.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 123: <object source="qemu/vfd.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 124: <object source="qemu/console.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 125: </library> ! 126: ! 127: <library name="mol" target="target" type="static" condition="MOL"> ! 128: <object source="misc.S"/> ! 129: <object source="ofmem.c"/> ! 130: <object source="mol/init.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 131: <object source="mol/main.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 132: <object source="mol/mol.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 133: <object source="mol/console.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 134: <object source="mol/osi-blk.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 135: <object source="mol/osi-scsi.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 136: <object source="mol/pseudodisk.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 137: <object source="mol/methods.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 138: <object source="mol/prom.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 139: <object source="mol/tree.c" flags="-I$(SRCDIR)/arch/ppc"/> ! 140: <external-object source="target/arch/ppc/mol/kernel.o"/> ! 141: </library> ! 142: ! 143: <executable name="openbios-briq.elf" target="target" condition="BRIQ"> ! 144: <rule> ! 145: $(call quiet-command,$(LD) -g -Ttext=0x01e01000 -Bstatic $^ $(shell $(CC) -print-libgcc-file-name) -o [email protected] --whole-archive $^," LINK $(TARGET_DIR)$@") ! 146: $(call quiet-command,$(NM) [email protected] | sort > $(ODIR)/openbios-briq.syms," GEN $(TARGET_DIR)[email protected]") ! 147: $(call quiet-command,$(STRIP) [email protected] -o $@," STRIP $(TARGET_DIR)$@")</rule> ! 148: <object source="start.S"/> ! 149: <object source="timebase.S"/> ! 150: <external-object source="libbriq.a"/> ! 151: <external-object source="libbootstrap.a"/> ! 152: <external-object source="libopenbios.a"/> ! 153: <external-object source="libpackages.a"/> ! 154: <external-object source="libdrivers.a"/> ! 155: <external-object source="libfs.a"/> ! 156: <external-object source="liblibc.a"/> ! 157: </executable> ! 158: ! 159: <executable name="openbios-pearpc.elf" target="target" condition="PEARPC"> ! 160: <rule> ! 161: $(call quiet-command,$(LD) -g -Ttext=0x01e01000 -Bstatic $^ $(shell $(CC) -print-libgcc-file-name) -o [email protected] --whole-archive $^," LINK $(TARGET_DIR)$@") ! 162: $(call quiet-command,$(NM) [email protected] | sort > $(ODIR)/openbios-pearpc.syms," GEN $(TARGET_DIR)[email protected]") ! 163: $(call quiet-command,$(STRIP) [email protected] -o $@," STRIP $(TARGET_DIR)$@")</rule> ! 164: <object source="start.S"/> ! 165: <object source="timebase.S"/> ! 166: <external-object source="libpearpc.a"/> ! 167: <external-object source="libbootstrap.a"/> ! 168: <external-object source="libopenbios.a"/> ! 169: <external-object source="libpackages.a"/> ! 170: <external-object source="libdrivers.a"/> ! 171: <external-object source="libfs.a"/> ! 172: <external-object source="liblibc.a"/> ! 173: </executable> ! 174: ! 175: <executable name="openbios-qemu.elf" target="target" condition="QEMU"> ! 176: <rule> ! 177: $(call quiet-command,$(LD) --warn-common -N -T $(SRCDIR)/arch/$(ARCH)/qemu/ldscript -o [email protected] --whole-archive $^," LINK $(TARGET_DIR)$@") ! 178: $(call quiet-command,$(NM) [email protected] | sort > $(ODIR)/openbios-qemu.syms," GEN $(TARGET_DIR)[email protected]") ! 179: $(call quiet-command,$(STRIP) [email protected] -o $@," STRIP $(TARGET_DIR)$@")</rule> ! 180: <object source="qemu/start.S"/> ! 181: <object source="timebase.S"/> ! 182: <external-object source="libqemu.a"/> ! 183: <external-object source="libbootstrap.a"/> ! 184: <external-object source="libopenbios.a"/> ! 185: <external-object source="libpackages.a"/> ! 186: <external-object source="libdrivers.a"/> ! 187: <external-object source="libfs.a"/> ! 188: <external-object source="liblibc.a"/> ! 189: <external-object source="libgcc.a"/> ! 190: </executable> ! 191: ! 192: <executable name="openbios-mol.elf" target="target" condition="MOL"> ! 193: <rule> ! 194: $(call quiet-command,$(LD) -g -Ttext=0x01e01000 -Bstatic $^ $(shell $(CC) -print-libgcc-file-name) -o [email protected] --whole-archive $^," LINK $(TARGET_DIR)$@") ! 195: $(call quiet-command,$(NM) [email protected] | sort > $(ODIR)/openbios-mol.syms," GEN $(TARGET_DIR)[email protected]") ! 196: $(call quiet-command,$(STRIP) [email protected] -o $@," STRIP $(TARGET_DIR)$@")</rule> ! 197: <object source="start.S"/> ! 198: <external-object source="libmol.a"/> ! 199: <external-object source="libbootstrap.a"/> ! 200: <external-object source="libopenbios.a"/> ! 201: <external-object source="libpackages.a"/> ! 202: <external-object source="libdrivers.a"/> ! 203: <external-object source="libfs.a"/> ! 204: <external-object source="liblibc.a"/> ! 205: </executable> ! 206: ! 207: </build>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.