xref: /inferno-os/mkconfig (revision 0195c4e25fc394097552c7f5ebf3085ec2d201f5)
1#
2#	Set the following 4 variables.  The host system is the system where
3#	the software will be built; the target system is where it will run.
4#	They are almost always the same.
5
6#	On Nt systems, the ROOT path MUST be of the form `drive:/path'
7ROOT=/usr/inferno
8
9#
10#	Specify the flavour of Tk (std for standard builds)
11#
12TKSTYLE=std
13
14#
15#	Except for building kernels, SYSTARG must always be the same as SYSHOST
16#
17SYSHOST=Plan9		# build system OS type (AIX, Hp, Inferno, Irix, Linux, MacOSX, Nt, Plan9, Solaris)
18SYSTARG=$SYSHOST		# target system OS type (AIX, Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris)
19
20#
21#	specify the architecture of the target system - Plan 9 imports it from the
22#	environment; for other systems it is usually just hard-coded
23#
24#OBJTYPE=386			# target system object type (eg, 386, arm, mips, power, s800, sparc)
25OBJTYPE=$objtype
26
27#
28#	no changes required beyond this point
29#
30OBJDIR=$SYSTARG/$OBJTYPE
31
32<$ROOT/mkfiles/mkhost-$SYSHOST			# variables appropriate for host system
33<$ROOT/mkfiles/mkfile-$SYSTARG-$OBJTYPE	# variables used to build target object type
34