Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/conf config goop for building 32bit sgimips...
details: https://anonhg.NetBSD.org/src/rev/d40f7fd9567f
branches: trunk
changeset: 329359:d40f7fd9567f
user: macallan <macallan%NetBSD.org@localhost>
date: Wed May 21 10:04:03 2014 +0000
description:
config goop for building 32bit sgimips64 kernels
works fine on my O2
( now to make the actual LP64 kernels work... )
diffstat:
sys/arch/sgimips/conf/GENERIC64_32_IP3x | 45 +++++++++++++++++++++++++++++++++
sys/arch/sgimips/conf/std.sgimips64_32 | 9 ++++++
2 files changed, 54 insertions(+), 0 deletions(-)
diffs (62 lines):
diff -r 822058544464 -r d40f7fd9567f sys/arch/sgimips/conf/GENERIC64_32_IP3x
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/sgimips/conf/GENERIC64_32_IP3x Wed May 21 10:04:03 2014 +0000
@@ -0,0 +1,45 @@
+# $NetBSD: GENERIC64_32_IP3x,v 1.1 2014/05/21 10:04:03 macallan Exp $
+#
+# GENERIC32_IP3x machine description file
+#
+# This machine description file is used to generate the default NetBSD
+# kernel. The generic kernel does not include all options, subsystems
+# and device drivers, but should be useful for most applications.
+#
+# The machine description file can be customised for your specific
+# machine to reduce the kernel size and improve its performance.
+#
+# For further information on compiling NetBSD kernels, see the config(8)
+# man page.
+#
+# For further information on hardware support for this architecture, see
+# the intro(4) man page. For further information about kernel options
+# for this architecture, see the options(4) man page. For an explanation
+# of each device driver in this file see the section 4 man page for the
+# device.
+#
+#
+# Currently this config file supports O2 (IP32).
+#
+
+include "arch/sgimips/conf/GENERIC32_IP3x"
+include "arch/sgimips/conf/std.sgimips64_32"
+
+no makeoptions TEXTADDR
+makeoptions TEXTADDR="0xffffffff80069000" # entry point
+no makeoptions CPUFLAGS
+makeoptions CPUFLAGS="-march=mips4 -mtune=vr5000"
+
+#ident "GENERIC64_IP3x-$Revision: 1.1 $"
+
+# Compatibility options
+#options COMPAT_15 # NetBSD 1.5
+#options COMPAT_16 # NetBSD 1.6
+#options COMPAT_20 # NetBSD 2.0
+#options COMPAT_30 # NetBSD 3.0
+#options COMPAT_40 # NetBSD 4.0 compatibility.
+#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
+
+no options COMPAT_LINUX # binary compatibility with Linux
+#options COMPAT_ULTRIX # binary compatibility with Ultrix
+#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
diff -r 822058544464 -r d40f7fd9567f sys/arch/sgimips/conf/std.sgimips64_32
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/sgimips/conf/std.sgimips64_32 Wed May 21 10:04:03 2014 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: std.sgimips64_32,v 1.1 2014/05/21 10:04:03 macallan Exp $
+# this is for building n32 kernels
+
+no makeoptions MACHINE_ARCH
+makeoptions MACHINE_ARCH="mips64eb"
+makeoptions LP64="no"
+
+#options EXEC_ELF64 # exec ELF64 binaries
+options COMPAT_NETBSD32
Home |
Main Index |
Thread Index |
Old Index