# make 9boot(pbs) and 9load(usb) # inherit KTZERO, START, CONF, BASE and SFX from mkfile x=`{bindpc $BASE $SFX} CONFLIST=$CONF EXTRACOPIES=piestand lookout bovril boundary objtype=386 $p$stem.gz install:V: $p$CONF $p${CONF}debug # $p$CONF.elf cp $p$CONF $p$CONF^debug /$objtype/ & for(i in $EXTRACOPIES) { 9fs $i && cp $p$CONF $p$CONF^debug /n/$i/$objtype && echo -n $i... & } wait echo <../port/portmkfile <|../port/mkbootrules $CONF %.$O: /$objtype/include/ureg.h /sys/include/pool.h ../port/netif.h %.$O: ../port/sd.h ../ip/ip.h dosfs.h pxe.h $ETHER: etherif.h ethermii.h ether2000.$O ether8003.$O ether8390.$O etherec2t.$O: ether8390.h l.$O l16r.$O l32p.$O l32v.$O l64p.$O: /sys/src/boot/pc/x16.h sd%.$O: /sys/include/disk.h auth.$O: /sys/include/authsrv.h bootld.$O: /sys/include/a.out.h /sys/src/libmach/elf.h devcons.$O: /sys/include/authsrv.h devfloppy.$O: floppy.h inflate.$O: /sys/include/flate.h main.$O: reboot.h sd53c8xx.$O: sd53c8xx.i sdiahci.$O: ahci.h trap.$O: /sys/include/tos.h init.h: >$target reboot.h:D: rebootcode.s $AS rebootcode.s $LD -l -s -T0x11000 -R4 -o reboot.out rebootcode.$O {echo 'uchar rebootcode[]={' xd -1x reboot.out | sed -e '1,2d' -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g' echo '};'} > reboot.h acid:V: 8c -a -w -I. i8253.c>acid