Remove the 'machine mips' from DEFAULTS. Put the proper 'machine mips

mipsel' or 'machine mips mipseb' into the config file (with a few 64's
tossed in for good measure).  This will let us build the proper
kernels with different worlds as part of make universe.
This commit is contained in:
Warner Losh 2010-11-13 22:34:12 +00:00
parent 13ec45d644
commit 161b83b959
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215270
25 changed files with 50 additions and 42 deletions

View File

@ -1,11 +1,13 @@
# $FreeBSD$
#
# Standard include file for ADM5120
files "../adm5120/files.adm5120"
files "../adm5120/files.adm5120"
machine mips mipsel
cpu CPU_MIPS4KC
options ISA_MIPS32
# device admpci
# device admpci
device admsw
device pci

View File

@ -4,5 +4,6 @@
files "../alchemy/files.alchemy"
machine mips mipsel
cpu CPU_MIPS4KC
options ISA_MIPS32

View File

@ -0,0 +1,9 @@
# $FreeBSD$
#
# standard config for all ar71xx based kernels.
files "../atheros/files.ar71xx"
machine mips mipseb
cpu CPU_MIPS4KC
options ISA_MIPS32

View File

@ -5,3 +5,5 @@
# $FreeBSD$
#
files "../cavium/files.octeon1"
machine mips mips64eb
cpu CPU_CNMIPS

View File

@ -19,9 +19,6 @@
ident ADM5120
#makeoptions ARCH_FLAGS=-march=mips32
makeoptions MIPS_LITTLE_ENDIAN=defined
# Don't build any modules yet.
makeoptions MODULES_OVERRIDE=""

View File

@ -19,9 +19,6 @@
ident ALCHEMY
makeoptions ARCH_FLAGS=-march=mips32
makeoptions MIPS_LITTLE_ENDIAN=defined
# Don't build any modules yet.
makeoptions MODULES_OVERRIDE=""

View File

@ -5,14 +5,11 @@
#
ident AR71XX
cpu CPU_MIPS4KC
options ISA_MIPS32
makeoptions TARGET_BIG_ENDIAN
makeoptions KERNLOADADDR=0x80050000
options HZ=1000
files "../atheros/files.ar71xx"
hints "AR71XX.hints"
include "../atheros/std.ar71xx"
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
#makeoptions MODULES_OVERRIDE=""

View File

@ -3,8 +3,6 @@
#
# $FreeBSD$
machine mips
device mem
device uart_ns8250

View File

@ -19,8 +19,8 @@
ident MALTA
#makeoptions ARCH_FLAGS=-march=mips32
makeoptions MIPS_LITTLE_ENDIAN=defined
machine mips mipsel # Malta supports both, so it isn't in std.malta
makeoptions KERNLOADADDR=0x80100000
options YAMON

View File

@ -19,8 +19,9 @@
ident MALTA
machine mips mips64el # Malta supports both, so it isn't in std.malta
makeoptions ARCH_FLAGS="-march=mips64 -mabi=64"
makeoptions MIPS_LITTLE_ENDIAN=defined
makeoptions LDSCRIPT_NAME= ldscript.mips.mips64
options YAMON

View File

@ -18,7 +18,6 @@
#
# $FreeBSD$
machine mips
cpu CPU_CNMIPS
ident OCTEON1
@ -27,7 +26,6 @@ makeoptions LDSCRIPT_NAME=ldscript.mips.octeon1.64
# Don't build any modules yet.
makeoptions MODULES_OVERRIDE=""
makeoptions TARGET_BIG_ENDIAN=defined
makeoptions KERNLOADADDR=0xffffffff80100000
include "../cavium/std.octeon1"

View File

@ -17,18 +17,16 @@
#
# $FreeBSD$
machine mips
cpu CPU_CNMIPS
ident OCTEON1
ident OCTEON1-32
# Don't build any modules yet.
makeoptions MODULES_OVERRIDE=""
makeoptions TARGET_BIG_ENDIAN=defined
makeoptions ARCH_FLAGS="-march=octeon"
makeoptions LDSCRIPT_NAME=ldscript.mips.octeon1.32
makeoptions KERNLOADADDR=0x81000000
include "../cavium/std.octeon1"
machine mips mipseb
hints "OCTEON1.hints" #Default places to look for devices.

View File

@ -20,10 +20,6 @@
cpu CPU_MIPS32
ident QEMU
# XXX: These two options must be defined in MIPS kernel configs.
makeoptions MIPS_LITTLE_ENDIAN=defined
makeoptions ARCH_FLAGS=-march=mips32
# Don't build any modules yet.
makeoptions MODULES_OVERRIDE=""

View File

@ -25,14 +25,9 @@
#
ident SENTRY5
cpu CPU_MIPS4KC
options ISA_MIPS32
options CPU_SENTRY5 # XXX should this be a
# sub-cpu option?
# XXX only siba should be hardwired for now; we will use
# bus enumeration there
files "../sentry5/files.sentry5"
hints "SENTRY5.hints"
# sentry5 normally ships with cfe firmware; use the console for now
@ -40,8 +35,6 @@ options CFE
options CFE_CONSOLE
options ALT_BREAK_TO_DEBUGGER
#makeoptions ARCH_FLAGS=-march=mips32
makeoptions MIPS_LITTLE_ENDIAN=defined
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
makeoptions MODULES_OVERRIDE=""
@ -56,18 +49,18 @@ options PSEUDOFS #Pseudo-filesystem framework
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
# Debugging for use in -current
#options DEADLKRES
#options DEADLKRES
options INVARIANTS
options INVARIANT_SUPPORT
#options BUS_DEBUG
#options BUS_DEBUG
#makeoptions BUS_DEBUG
device siba # Sonics SiliconBackplane
device pci # siba_pcib
# device bfe # XXX will build both pci and siba
# device miibus # attachments
# device bfe # XXX will build both pci and siba
# device miibus # attachments
# pci devices
# notyet:

View File

@ -6,6 +6,7 @@ include std.SWARM
ident SWARM
machine mips mipseb
options ISA_MIPS32
makeoptions ARCH_FLAGS="-mabi=32 -march=mips32"

View File

@ -6,6 +6,7 @@ include std.SWARM
ident SWARM64
machine mips mips64eb
makeoptions ARCH_FLAGS="-mabi=64 -march=mips64"
makeoptions LDSCRIPT_NAME=ldscript.mips.64.cfe
makeoptions KERNLOADADDR=0xffffffff80001000

View File

@ -9,6 +9,7 @@ ident SWARM64_SMP
options SMP
options PRINTF_BUFR_SIZE=128
machine mips mips64eb
makeoptions ARCH_FLAGS="-mabi=64 -march=mips64"
makeoptions LDSCRIPT_NAME=ldscript.mips.64.cfe
makeoptions KERNLOADADDR=0xffffffff80001000

View File

@ -9,6 +9,7 @@ ident SWARM_SMP
options SMP
options PRINTF_BUFR_SIZE=128
machine mips mipseb
options ISA_MIPS32
makeoptions ARCH_FLAGS="-mabi=32 -march=mips32"

View File

@ -45,7 +45,7 @@
#
# $FreeBSD$
machine mips
machine mips mipseb
cpu CPU_RMI
ident XLR

View File

@ -17,7 +17,7 @@
#
# $FreeBSD$
machine mips
machine mips mips64eb
cpu CPU_RMI
ident XLR64

View File

@ -17,7 +17,7 @@
#
# $FreeBSD$
machine mips
machine mips mipseb
cpu CPU_RMI
ident XLRN32

View File

@ -2,8 +2,8 @@
# $FreeBSD$
#
files "../sibyte/files.sibyte"
hints "SWARM.hints"
include "../sibyte/std.sibyte"
options CFE
options CFE_CONSOLE

View File

@ -3,4 +3,5 @@
files "../idt/files.idt"
machine mips mipsel
options ISA_MIPS32

View File

@ -0,0 +1,11 @@
# $FreeBSD$
#
machine mips mipsel
cpu CPU_MIPS4KC
options ISA_MIPS32
options CPU_SENTRY5 # XXX should this be a
# sub-cpu option?
files "../sentry5/files.sentry5"

View File

@ -0,0 +1,3 @@
# $FreeBSD$
files "../sibyte/files.sibyte"