From c023b4180fd40f3a38f0b8d899aa5b3f6f6bf74e Mon Sep 17 00:00:00 2001 From: chs Date: Sat, 30 Aug 2003 22:44:38 +0000 Subject: [PATCH] add "makeoptions MACHINE_ARCH=..." in std.* for mips ports where it is constant (to ease cross-building). --- sys/arch/algor/conf/std.algor | 3 ++- sys/arch/arc/conf/std.arc | 3 ++- sys/arch/cobalt/conf/std.cobalt | 3 ++- sys/arch/hpcmips/conf/std.hpcmips | 3 ++- sys/arch/hpcmips/conf/std.lcard | 4 ++-- sys/arch/mipsco/conf/std.mipsco | 3 ++- sys/arch/newsmips/conf/std.newsmips | 3 ++- sys/arch/playstation2/conf/std.playstation2 | 3 ++- sys/arch/pmax/conf/std.pmax | 3 ++- sys/arch/sgimips/conf/std.sgimips | 3 ++- 10 files changed, 20 insertions(+), 11 deletions(-) diff --git a/sys/arch/algor/conf/std.algor b/sys/arch/algor/conf/std.algor index cac4d259030e..e0ff8d0cec53 100644 --- a/sys/arch/algor/conf/std.algor +++ b/sys/arch/algor/conf/std.algor @@ -1,6 +1,7 @@ -# $NetBSD: std.algor,v 1.5 2002/12/09 22:54:09 simonb Exp $ +# $NetBSD: std.algor,v 1.6 2003/08/30 22:44:38 chs Exp $ machine algor mips +makeoptions MACHINE_ARCH="mipsel" # Standard exec-package options options EXEC_ELF32 # 32-bit ELF support (native format) diff --git a/sys/arch/arc/conf/std.arc b/sys/arch/arc/conf/std.arc index 0194977b87b0..c844f5c3aacf 100644 --- a/sys/arch/arc/conf/std.arc +++ b/sys/arch/arc/conf/std.arc @@ -1,7 +1,8 @@ -# $NetBSD: std.arc,v 1.15 2003/05/25 14:00:13 tsutsui Exp $ +# $NetBSD: std.arc,v 1.16 2003/08/30 22:44:38 chs Exp $ # standard arc info machine arc mips +makeoptions MACHINE_ARCH="mipsel" mainbus0 at root cpu* at mainbus0 diff --git a/sys/arch/cobalt/conf/std.cobalt b/sys/arch/cobalt/conf/std.cobalt index abe85ca03afe..58ef43c68be8 100644 --- a/sys/arch/cobalt/conf/std.cobalt +++ b/sys/arch/cobalt/conf/std.cobalt @@ -1,6 +1,7 @@ -# $NetBSD: std.cobalt,v 1.6 2002/12/09 22:54:10 simonb Exp $ +# $NetBSD: std.cobalt,v 1.7 2003/08/30 22:44:39 chs Exp $ machine cobalt mips +makeoptions MACHINE_ARCH="mipsel" options MIPS3 options MIPS3_5200 diff --git a/sys/arch/hpcmips/conf/std.hpcmips b/sys/arch/hpcmips/conf/std.hpcmips index fba066abb670..87459ceaaaf0 100644 --- a/sys/arch/hpcmips/conf/std.hpcmips +++ b/sys/arch/hpcmips/conf/std.hpcmips @@ -1,7 +1,8 @@ -# $NetBSD: std.hpcmips,v 1.16 2002/12/09 22:54:13 simonb Exp $ +# $NetBSD: std.hpcmips,v 1.17 2003/08/30 22:44:39 chs Exp $ # standard, required hpcmips info machine hpcmips mips +makeoptions MACHINE_ARCH="mipsel" options NOFPU # No FPU options SOFTFLOAT # emulate FPU insn diff --git a/sys/arch/hpcmips/conf/std.lcard b/sys/arch/hpcmips/conf/std.lcard index 4d4af9592088..210df935f7ee 100644 --- a/sys/arch/hpcmips/conf/std.lcard +++ b/sys/arch/hpcmips/conf/std.lcard @@ -1,7 +1,8 @@ -# $NetBSD: std.lcard,v 1.1 2003/05/01 07:01:58 igy Exp $ +# $NetBSD: std.lcard,v 1.2 2003/08/30 22:44:39 chs Exp $ # standard, required hpcmips info machine hpcmips mips +makeoptions MACHINE_ARCH="mipsel" options NOFPU # No FPU options SOFTFLOAT # emulate FPU insn @@ -33,5 +34,4 @@ options EXEC_ELF32 # native exec format options EXEC_SCRIPT # may be unsafe makeoptions DEFTEXTADDR="0x80040000" -makeoptions MACHINE_ARCH="mipsel" makeoptions DEFCOPTS="-Os -mmemcpy" diff --git a/sys/arch/mipsco/conf/std.mipsco b/sys/arch/mipsco/conf/std.mipsco index 087cf80d47c0..c4afadd9d5a2 100644 --- a/sys/arch/mipsco/conf/std.mipsco +++ b/sys/arch/mipsco/conf/std.mipsco @@ -1,6 +1,7 @@ -# $NetBSD: std.mipsco,v 1.8 2002/12/09 22:54:15 simonb Exp $ +# $NetBSD: std.mipsco,v 1.9 2003/08/30 22:44:39 chs Exp $ machine mipsco mips +makeoptions MACHINE_ARCH="mipseb" options EXEC_ELF32 # exec ELF32 binaries options EXEC_SCRIPT # exec #! scripts diff --git a/sys/arch/newsmips/conf/std.newsmips b/sys/arch/newsmips/conf/std.newsmips index 94904752de68..7d0f0ea4079c 100644 --- a/sys/arch/newsmips/conf/std.newsmips +++ b/sys/arch/newsmips/conf/std.newsmips @@ -1,6 +1,7 @@ -# $NetBSD: std.newsmips,v 1.14 2002/12/09 22:54:15 simonb Exp $ +# $NetBSD: std.newsmips,v 1.15 2003/08/30 22:44:40 chs Exp $ machine newsmips mips +makeoptions MACHINE_ARCH="mipseb" options EXEC_ELF32 # exec ELF32 binaries options EXEC_SCRIPT # exec #! scripts diff --git a/sys/arch/playstation2/conf/std.playstation2 b/sys/arch/playstation2/conf/std.playstation2 index 43cb5016d61f..7d2a36af674b 100644 --- a/sys/arch/playstation2/conf/std.playstation2 +++ b/sys/arch/playstation2/conf/std.playstation2 @@ -1,6 +1,7 @@ -# $NetBSD: std.playstation2,v 1.5 2002/12/09 22:54:15 simonb Exp $ +# $NetBSD: std.playstation2,v 1.6 2003/08/30 22:44:40 chs Exp $ machine playstation2 mips +makeoptions MACHINE_ARCH="mipsel" options MIPS3 options MIPS3_5900 diff --git a/sys/arch/pmax/conf/std.pmax b/sys/arch/pmax/conf/std.pmax index f2f6df1cb296..f0f5f8ae3e26 100644 --- a/sys/arch/pmax/conf/std.pmax +++ b/sys/arch/pmax/conf/std.pmax @@ -1,7 +1,8 @@ -# $NetBSD: std.pmax,v 1.15 2002/12/09 22:54:16 simonb Exp $ +# $NetBSD: std.pmax,v 1.16 2003/08/30 22:44:40 chs Exp $ # standard, required pmax info machine pmax mips +makeoptions MACHINE_ARCH="mipsel" # Standard exec-package options options EXEC_ELF32 # 32-bit ELF support (native format) diff --git a/sys/arch/sgimips/conf/std.sgimips b/sys/arch/sgimips/conf/std.sgimips index c115e98241bc..d2ad6a153be0 100644 --- a/sys/arch/sgimips/conf/std.sgimips +++ b/sys/arch/sgimips/conf/std.sgimips @@ -1,6 +1,7 @@ -# $NetBSD: std.sgimips,v 1.13 2002/12/09 22:54:17 simonb Exp $ +# $NetBSD: std.sgimips,v 1.14 2003/08/30 22:44:40 chs Exp $ machine sgimips mips +makeoptions MACHINE_ARCH="mipseb" options EXEC_ELF32 # exec ELF32 binaries options EXEC_SCRIPT # exec #! scripts