diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /mkconfig | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
Diffstat (limited to 'mkconfig')
| -rw-r--r-- | mkconfig | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mkconfig b/mkconfig new file mode 100644 index 00000000..c80df8ff --- /dev/null +++ b/mkconfig @@ -0,0 +1,33 @@ +# +# Set the following 4 variables. The host system is the system where +# the software will be built; the target system is where it will run. +# They are almost always the same. + +# On Nt systems, the ROOT path MUST be of the form `drive:/path' +ROOT=/usr/inferno + +# +# Specify the flavour of Tk (std for standard builds) +# +TKSTYLE=std + +# +# Except for building kernels, SYSTARG must always be the same as SYSHOST +# +SYSHOST=Plan9 # build system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris) +SYSTARG=$SYSHOST # target system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris) + +# +# specify the architecture of the target system - Plan 9 imports it from the +# environment; for other systems it is usually just hard-coded +# +#OBJTYPE=386 # target system object type (s800, mips, 386, arm, sparc) +OBJTYPE=$objtype + +# +# no changes required beyond this point +# +OBJDIR=$SYSTARG/$OBJTYPE + +<$ROOT/mkfiles/mkhost-$SYSHOST # variables appropriate for host system +<$ROOT/mkfiles/mkfile-$SYSTARG-$OBJTYPE # variables used to build target object type |
