Allow selection of a big- or little-endian kernel by uncommenting the
std.sbmips.eb or std.sbmips.el config include file in the kernel config file. Idea from the evbsh3 port.
This commit is contained in:
parent
fb38ff8c32
commit
ed84d53b75
|
@ -1,8 +1,9 @@
|
|||
# $NetBSD: GENERIC,v 1.1 2002/03/06 02:13:38 simonb Exp $
|
||||
# $NetBSD: GENERIC,v 1.2 2002/03/17 11:00:22 simonb Exp $
|
||||
|
||||
include "arch/sbmips/conf/std.sbmips"
|
||||
include "arch/sbmips/conf/std.sbmips.eb" # little-endian mode
|
||||
#include "arch/sbmips/conf/std.sbmips.el" # big-endian mode
|
||||
|
||||
#ident "GENERIC-$Revision: 1.1 $"
|
||||
#ident "GENERIC-$Revision: 1.2 $"
|
||||
|
||||
# The following three options are required for BCM1250 pass 1 silicon
|
||||
options SB1250_PASS1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: std.sbmips,v 1.1 2002/03/06 02:13:39 simonb Exp $
|
||||
# $NetBSD: std.sbmips.common,v 1.1 2002/03/17 11:00:23 simonb Exp $
|
||||
|
||||
machine sbmips mips
|
||||
|
||||
|
@ -8,6 +8,5 @@ options EXEC_ELF32 # exec ELF32 binaries
|
|||
options EXEC_SCRIPT # exec #! scripts
|
||||
|
||||
makeoptions DEFTEXTADDR="0x80001000"
|
||||
makeoptions MACHINE_ARCH="mipseb"
|
||||
|
||||
include "arch/mips/conf/files.sibyte"
|
|
@ -0,0 +1,5 @@
|
|||
# $NetBSD: std.sbmips.eb,v 1.1 2002/03/17 11:00:23 simonb Exp $
|
||||
|
||||
include "arch/sbmips/conf/std.sbmips.common"
|
||||
|
||||
makeoptions MACHINE_ARCH="mipseb"
|
|
@ -0,0 +1,5 @@
|
|||
# $NetBSD: std.sbmips.el,v 1.1 2002/03/17 11:00:23 simonb Exp $
|
||||
|
||||
include "arch/sbmips/conf/std.sbmips.common"
|
||||
|
||||
makeoptions MACHINE_ARCH="mipsel"
|
Loading…
Reference in New Issue