|
|
1.1 root 1: #
2: # bld.k - make most of a kernel
3: # omit HD device driver and KB device driver
4: # so these can be linked in during installation
5: #
6: # $Log: bld.k,v $
7: Revision 1.1 92/07/17 15:29:52 bin
8: Initial revision
9:
10: # Revision 1.1 92/01/10 10:10:41 hal
11: # Initial revision
12:
13:
14: #
15: # initialize variables
16: #
17: #LIBS="lib/tty.a lib/support.a"
18: UNDEF=""
19: PATCH=""
20: KERNEL=atkernel.o
21: RESULT=kernel321.o
22: DRIVERS="rm fl lp"
23:
24: echo "Devices: $DRIVERS"
25:
26: for ARG in $DRIVERS
27: do
28: if /bin/test -r confdrv/${ARG}
29: then
30: . confdrv/${ARG}
31: else
32: /bin/echo "'confdrv/${ARG}' does not exist"
33: exit 1
34: fi
35: done
36:
37: # UNDEF was built on in confdrv/ scripts
38: UNDEF="${UNDEF} ${LIBS}"
39:
40: # make the proper root and pipe devices
41: #
42: PATCH="${PATCH} rootdev_=0 pipedev_=0"
43:
44: set -ex
45: /bin/ld -r -x -o $RESULT ${KERNEL} ${UNDEF}
46: /conf/patch $RESULT ALLSIZE_=16384 NBUF_=32 NCLIST_=24 ${PATCH}
47: set -
48: echo $RESULT created
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.