shithub: 9ferno

Download patch

ref: 7b25c99c9e963cd16dd3910190eaaf10dbffdd7d
parent: c04f70e2bb4a02655bb8a6247a8f07f75ff431bd
author: joe9 <joe9mail@gmail.com>
date: Thu Jul 8 00:44:35 EDT 2021

using architecture specific mkconfig files

--- /dev/null
+++ b/mkconfig.9front_amd64
@@ -1,0 +1,35 @@
+#
+#	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
+ROOT=/mnt/term/home/j/local/plan9/custom/inferno-os
+
+#
+#	Specify the flavour of Tk (std for standard builds)
+#
+TKSTYLE=std
+
+#
+#	Except for building kernels, SYSTARG must always be the same as SYSHOST
+#
+SYSHOST=9front # Plan9		# build system OS type (AIX, Hp, Inferno, Irix, Linux, MacOSX, Nt, Plan9, Solaris)
+SYSTARG=$SYSHOST		# target system OS type (AIX, 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 (eg, 386, arm, mips, power, s800, sparc)
+OBJTYPE=amd64
+# 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
--- /dev/null
+++ b/mkconfig.OpenBSD_amd64
@@ -1,0 +1,35 @@
+#
+#	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
+ROOT=/home/j/local/plan9/custom/inferno-os
+
+#
+#	Specify the flavour of Tk (std for standard builds)
+#
+TKSTYLE=std
+
+#
+#	Except for building kernels, SYSTARG must always be the same as SYSHOST
+#
+SYSHOST=OpenBSD # Plan9		# build system OS type (AIX, Hp, Inferno, Irix, Linux, MacOSX, Nt, Plan9, Solaris)
+SYSTARG=$SYSHOST		# target system OS type (AIX, 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 (eg, 386, arm, mips, power, s800, sparc)
+OBJTYPE=amd64
+# 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