|
|
1.1 root 1: # /conf/ldker
2: # Build COHERENT kernel into /mnt/coherent
3:
4: HD=lib/at.a
5: HDUNDEF="-u atcon_"
6: HDPATCH="drvl_+110=atcon_"
7:
8: KB=lib/kb.a
9: KBUNDEF="-u iscon_"
10: KBPATCH="drvl_+20=iscon_"
11:
12: RESULT=testcoh
13: set -ex
14: (/bin/ld -i -x -o $RESULT kernel321.o $KBUNDEF $HDUNDEF $KB $HD lib/mm.a \
15: lib/tty.a lib/support.a lib/kl.a \
16: && /conf/patch $RESULT $KBPATCH $HDPATCH \
17: && /conf/patch $RESULT drvl_+30=lpcon_ drvl_+40=flcon_ drvl_+80=rmcon_ \
18: ) || echo 'Kernel link failed' && exit 1
19: echo $RESULT built
20: mv $RESULT /testcoh
21: /conf/patch /testcoh rootdev_=0xb00 pipedev_=0xb00 ronflag_=0
22: chmog 400 sys sys /testcoh
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.