summaryrefslogtreecommitdiff
path: root/static/v10/man8/config.8
blob: dc21552767056b2cb411c22302973fda181b63d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.TH CONFIG 8
.SH NAME
config \- configure a Unix kernel
.SH SYNOPSIS
.B /etc/config
[ machine ]
.SH DESCRIPTION
.I Config
generates files used to build a Unix kernel
for the named
.IR machine .
The working directory should be
.I /usr/sys/conf
or
.IR /usr/sys/ machine;
if the latter,
.I machine
may be omitted from the command.
.PP
A machine description is expected in
.RI machine /conf ;
a makefile,
a number of header files,
and some C and assembler programs
are generated from the description.
.PP
The usual way to configure a new system is:
.nf
mkdir /usr/sys/newmach
cd /usr/sys/newmach
(create conf)
/etc/config
make
.fi
.SH FILES
\&../conf/makefile	makefile template
.br
\&../conf/files	list of kernel source files
.br
files	more sources specific to this machine
.br
\&../conf/devices	list of device handlers
.br
devices	more devices specific to this machine
.br
conf	machine description
.SH SEE ALSO
config(5)